Could anybody tell me how to use .bat file to unzip zipped files from floppy disks and install it to C: drive and put a shortcut icon to the desktop pointing to one of the files. Is it possible? Thanks
Printable View
Could anybody tell me how to use .bat file to unzip zipped files from floppy disks and install it to C: drive and put a shortcut icon to the desktop pointing to one of the files. Is it possible? Thanks
Unzipping and copying files is very possible with a batch file. Creating a shortcut on the desktop would probably not be possible with just a batch file. You ought to consider using Windows Scripting Host(WSH). With WSH, you can use VBScript or JScript to access the shell to create a link.
for Win2K:http://download.microsoft.com/downlo...S/scripten.exe
for 98, ME, NT 4.0:http://download.microsoft.com/downlo...US/scr56en.exe
Check out MSDN for further details. http://msdn.microsoft.com
I'm not sure you can invoke a WSH script from a batch file, tho.
Read your zip/unzip documentation for commandline usage.
winzip32.exe -e -o a:\*.zip c:\unzipped
That is a typical extract commandline for Winzip.
Software is like sex, it's better when it's free - Linus Torvalds
Software is like sex, it's better when I get paid for it. - me