hey pals...
i seem to have come up with another one of those Qs again!
all i need to do is 'run a command utility on network drives'...
here is what I am doing and what I need to do:
1. Am working on the creation of a utility, creating zip arhives being one of the modules.
2. For creating Zip archives, am using the command-line interface of Winzip.
3. If I was to zip, say, the files in the 'D:\Sham\Test' folder, I create a batch file at runtime that would contain the following:
D:
CD SHAM
[winzips command line utility to add the files in the 'Test' folder]
4. I do this because, when the files are added to the zip archives, the folder information is also stored along with the files. In this case, a 'temp.txt' file would be added with the folder information pointing to '\Test' folder (which is correct)
5. If I was to just run winzip directly, the 'temp.txt' file would be added from the root drive ('D:' in this case) and with the folder information pointing to '\Sham\Test' (which is not what I want)
6. So reaching the precise physical folder location before running winzip is very important.
7. Now there comes a problem when files in my 'Shared Network Drives' need to get zipped. All I have is the UNC path to the Network drive.
8. One option would be mapping the network drive and using the Mapped Physical Drive Letter for reaching the correct physical folder location.
9. But that would mean that at one-point-of-time, no more that 20-plus users can use my utility to create Zips as there would be a shortage of mapped drive letters.
This is the current scenario.
Now, if there was some way by which I could reach the folders in the Shared network drives without actually having to physically Map them, it would be just perfect.
Can any of you think of any possible solution or work-around?
Thanks for the help thats on its way... Sham aka boolean... be practical/be straight... true/false?!
i seem to have come up with another one of those Qs again!
all i need to do is 'run a command utility on network drives'...
here is what I am doing and what I need to do:
1. Am working on the creation of a utility, creating zip arhives being one of the modules.
2. For creating Zip archives, am using the command-line interface of Winzip.
3. If I was to zip, say, the files in the 'D:\Sham\Test' folder, I create a batch file at runtime that would contain the following:
D:
CD SHAM
[winzips command line utility to add the files in the 'Test' folder]
4. I do this because, when the files are added to the zip archives, the folder information is also stored along with the files. In this case, a 'temp.txt' file would be added with the folder information pointing to '\Test' folder (which is correct)
5. If I was to just run winzip directly, the 'temp.txt' file would be added from the root drive ('D:' in this case) and with the folder information pointing to '\Sham\Test' (which is not what I want)
6. So reaching the precise physical folder location before running winzip is very important.
7. Now there comes a problem when files in my 'Shared Network Drives' need to get zipped. All I have is the UNC path to the Network drive.
8. One option would be mapping the network drive and using the Mapped Physical Drive Letter for reaching the correct physical folder location.
9. But that would mean that at one-point-of-time, no more that 20-plus users can use my utility to create Zips as there would be a shortage of mapped drive letters.
This is the current scenario.
Now, if there was some way by which I could reach the folders in the Shared network drives without actually having to physically Map them, it would be just perfect.
Can any of you think of any possible solution or work-around?
Thanks for the help thats on its way... Sham aka boolean... be practical/be straight... true/false?!