Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run Command
Message
 
To
05/11/1997 16:03:48
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00058462
Message ID:
00058610
Views:
31
>>>Is there a limit as to the number of characters that can be sent using the RUN command? I ran PKZIP with the ! command by passing a 123 character string and it worked fine. If I use a 161 chracter string, however, I get a RUN|! Command Failed Error. I can copy and paste this string to WIN NT's RUN and it works fine. If this is a limitation, is there a work around?
>>>
>>>-Ed
>>
>>Edward,
>> You may want to look at Okzips' option for having a filelist (if your 161 character string has filenames in it). This will allow you to list all the files you want to work on, and pass the file list filename as a parameter..
>>
>>Thanx!
>>
>>Tony Miller
>>Vancouver, Wa
>
>Tony,
>
>Yeah, I've tried that. That makes a 129 character string. If I move PkZip to the root of a drive(so I don't have to call the whole path), that lowers the number to 120 with the @ and that works. So the magic number seems to be between 123 and 129. I wanted to keep PKzip with my archived files and not the application's directory, but I may not have a choice.
>
>-Ed

Could you create a .bat file with the required pkzip command, and then just run the .bat file?

Joe
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform