Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Files XXX.txt
Message
 
To
09/04/2002 12:13:40
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00642737
Message ID:
00642753
Views:
13
Hi, Fernando!

>>
!c:\windows\notepad (anexos.file)
<<

I think the windows command line you use can't deal with the name substitution brackets, try the follwing:
>>
LOCAL lcMacro
* take the file name:
lcMacro = anexos.file
* prevent from errors due to spaces in file names:
lcMacro = ["] + m.lcMacro + ["]
* call the shell
!c:\windows\notepad &lcMacro.
<<
BTW: The location of the Windows directory is not "c:\window" at all machines!
SeBaFlu
Previous
Reply
Map
View

Click here to load this message in the networking platform