Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


compress folder

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,43014
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> compress folder
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 compress folder - 2/8/2007 1:22:00 AM   
  MohamedSaeed

 

Posts: 14
Score: 0
Joined: 1/12/2007
Status: offline
hello
i find this script :


      

but after running i got this error (11 --> The file system is not NTFS.)
so if i want to compress folder and the file system is FAT32 what i have to do?
thanks
 
 
Post #: 1
 
 RE: compress folder - 2/8/2007 4:34:05 AM   
  ehvbs

 

Posts: 2223
Score: 50
Joined: 6/22/2005
From: Germany
Status: offline
Hi MohamedSaeed,

if "compress folder" means "get files in folder into a .zip" (instead of "magically
having a compressed folder on a non NTFS file system") you could use a ZIP
tool (winzip, 7zip, tar/gzip, ...)  to do that from a command line or via WSHShell.Run/Exec.

Good luck!

ehvbs

(in reply to MohamedSaeed)
 
 
Post #: 2
 
 RE: compress folder - 2/8/2007 6:54:01 AM   
  DiGiTAL.SkReAM


Posts: 1194
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Is there a native to Xp/2003 Zip that is exposed to vbscript?  the closest I have come is to have a COM object expose an API, but I wonder if there is a native method.

_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to ehvbs)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> compress folder Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts