Reply
Another Batch File Question...
Old 10-29-2006, 11:14 AM Another Batch File Question...
Banned

Posts: 61
Name: Oh, don't go there
Location: United States
Trades: 0
Hi,

I need a batch file that will create a folder on a drive
Set the attributes to the folder as -a +r +s +h
Then unzip a file to that folder
then set the attribute to the files in that folder to the same as above

Can someone help?

Tia
Frostydasnowman is offline
Reply With Quote
View Public Profile Visit Frostydasnowman's homepage!
 
 
When You Register, These Ads Go Away!
Old 10-29-2006, 02:28 PM Re: Another Batch File Question...
chrishirst's Avatar
Super Moderator

Posts: 26,496
Location: Blackpool. UK
Trades: 0
You will need the DOS version of PKUNZIP
Code:
md drive:\folder\
pkunzip -d -o zipfile 
attrib drive:\folder\ -a +r +s +h
should work ok
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | Crowded Nightclub? | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Another Batch File Question...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.08235 seconds with 13 queries