1.

Solve : Can I set up a auto DOS / BATCH FILE?

Answer»

Hi

I have a 7 zip file that I need to unzip but not save it to personal computers but a folder on the server.

Im trying to make is easy so just a click on a icon and Im THINKING of a script or command that someone clicks on and asks what subfolder they want to open within the folder and then asks for password thats on the subfolder and unzips as a complete folder to a specific location.

The script or command will always be in the folder so people can just click on it to open files. If 7 zip is difficult I can use the zip function in windows .

Im very rusty on .DOS so any reply in easy english would help.

Folder is C:\Downloads and there will be zipped sub folders within of which I need to unzip etc. They need to unzip to R:\DOWNLOADS

Has anyone any ideas or other suggestions?Supplying a solution to this... the solution can be used to send an e-mail to someone with a zipped file that had hidden malicious intent then of which the zipped contents decompressed to infect or attack etc.

*If you have access to said "server" you have a BETTER means of implementing this "directly" either at the system or through remote system management options that you should have available to you as the system admin.

The danger with this one is that:

Quote

Im trying to make is easy so just a click on a icon and Im thinking of a script or command that someone clicks on and asks what subfolder they want to open within the folder and then asks for password thats on the subfolder and unzips as a complete folder to a specific location.

Can be automated in the batch supplied to you where INSTEAD of a user given a choice of path and password entry, these fields could be set to static values so that once they click on the "icon" it runs and unzips automatically password protected file and does whatever else you want.

Sorry about my caution in assisting with this, but as a system administrator yourself of this server, you should see how this could be easily used for wrong intent, and as a system admin you should have access to this said server so that this method of "others" running this on servers is not necessary.

SOUNDS NEFARIOUS.....Topic Closed.



Discussion

No Comment Found