Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Another Batch File Question...
Old 10-29-2006, 12:14 PM 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!
 
 
Register now for full access!
Old 10-29-2006, 03:28 PM Re: Another Batch File Question...
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
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!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
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.11211 seconds with 12 queries