Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I delete a file with a leading space?
Message
From
20/08/1999 11:48:32
 
 
To
20/08/1999 11:40:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00255531
Message ID:
00255896
Views:
22
It won't work in the following scenario:
The file "C:\ junk.dbf" exist on the disk.
oFile = fCreate("C:\ junk2.dbf")
fClose (ofile)
x1='!del c:\junk~1.txt'
&x1

It will delete "C:\ junk.dbf".

>This works for me:
>oFile = fCreate("C:\ junk.dbf")
>fClose (ofile)
>
>x1='!del c:\junk~1.txt'
>&x1
Previous
Reply
Map
View

Click here to load this message in the networking platform