LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Batch files auto unzip

Has anyone come across this problem in XP
with creating a batch file, by first creating a text file
then closing it. Then output using wzunzip.exe as
follows:-

Open "D:\WMSCall\extract.txt" For Output As #1
Print #1, "D:\WMSCall\wzunzip.exe
D:\WMSCall\ZippedFiles\" & Carrier & "\" & fileStr & _
FileYearStr & ".zip
D:\WMSCall\ZippedFiles\All\"
Close #1
'Rename .TXT to .BAT to enable remote execution
Name "D:\WMSCall\extract.txt"
As "D:\WMSCall\extract.bat"
'Run extract.bat
runBat = Shell("D:\WMSCall\extract.bat")

When trying to run this in xp it does not work.
Can anyone offer any ideas! thanks in advance

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I batch convert 97-2003 .xls files to 2007 .xlsx files Dave Nuttall Excel Discussion (Misc queries) 4 August 3rd 09 11:38 PM
zip/unzip excel files SHANTA MENON Excel Discussion (Misc queries) 3 July 30th 08 10:10 PM
unzip/zip xlsx files burrowsUW Excel Discussion (Misc queries) 3 March 11th 07 06:50 PM
How do I Unzip the files in "ExcelMap-China-Region.Zip" into your Sukesh New Users to Excel 1 December 8th 06 06:12 PM
Batch conversion of XP files to 97 files AG Excel Discussion (Misc queries) 2 October 2nd 05 02:08 PM


All times are GMT +1. The time now is 12:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"