Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Windows System Folder
Message
From
02/11/2005 02:48:52
 
 
To
02/11/2005 01:57:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP3
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064369
Message ID:
01064375
Views:
20
>Dear Experts
>
>How to go to winodws system folder?
>I want to copy some file into windows system folder.
>What command should I apply?
>
>Please help
Declare INTEGER GetSystemDirectory IN WIN32API STRING @lpBuffer, INTEGER nSize
STORE SPACE(255) TO lcSystemFolder
GetSystemDirectory(@lcSystemFolder,255)
lcSystemFolder = ADDBS(CHRTRAN(ALLTRIM(lcSystemFolder),CHR(0),[]))
lcFileSource   = "c:\test.txt"
lcFileTarget   = lcSystemFolder + "test.txt"
COPY FILE (lcFileSource) TO (lcFileTarget)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform