Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy running dbf
Message
From
12/01/2007 06:36:22
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
To
12/01/2007 06:12:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01184430
Message ID:
01184961
Views:
18
Tarig I said to use shellexecute not the run command
but for the run try this
RUN n/7 XCOPY D:\C2007\TABLES\*.DBF D:\C2007\TABLES\BACKUP /y /q

but the run command will still open an dos window even the windows being minimized and inactive, shellexecute has the option not to show the window.

>Dear Sir,
>
>BC25='D:\C2007\TABLES\BACKUP' && Target
>CD 'D:\C2007\TABLES' && Source to copy
>RUN n/7 XCOPY *.DBF &bc25 /y /q
>CD..
>
>The above codes work fine outside exe.
>When I run it from exe, they do nothing.
>Also every time a DOS window appears, I do not want to show that.
>
>Please help
Alexandre Palma
Senior Application Architect
Previous
Reply
Map
View

Click here to load this message in the networking platform