Computing.Net > Forums > Windows NT > Set a folder compressed using a DOS-Line

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Set a folder compressed using a DOS-Line

Reply to Message Icon

Name: PSousa
Date: March 22, 2001 at 13:01:32 Pacific
Comment:

How can I set one Folder with the COMPRESS option from a DOS Command-Line.

F.ex.: I wan't to set COMPRESS for the folder: D:\ISS\BINV3\WIN32\TP7
(I must do that on over 400 server until sunday !)
To run commands or regestry settings i use the CONNECT:REMOTE Software in a TCP/IP net !
I can do something with SCRIPTIT, but i don't know how to call the PROPERTIES for a FOLDER in a DOS Command-LINE ???

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Robert Schut
Date: March 23, 2001 at 07:36:39 Pacific
Reply:

Okay we need to do some batching
If all your servers are online do a "net view" and store the result in a file e.g. net view >net.txt.
open net.txt in word and delete all the machines where you don't want to compress the directory
With replace (word) ad:
compress "servername" source and destination to each line

Turn it into a batchfile (ren net.txt *.bat)

MAke sure u are domain admin and run the batch

HAve some coffee and tell everybody you did it by hand
Succes


0
Reply to Message Icon

Related Posts

See More


NT on 20GB disk PC Anywhere problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Set a folder compressed using a DOS-Line

is there a dos client for nt terminal server www.computing.net/answers/windows-nt/is-there-a-dos-client-for-nt-terminal-server/1025.html

Creating a DOS boot disk www.computing.net/answers/windows-nt/creating-a-dos-boot-disk/6281.html

How do I make a folder writable ? www.computing.net/answers/windows-nt/how-do-i-make-a-folder-writable-/22418.html