batch job question - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-12-2006, 02:11 PM   #1 (permalink)
Banned
 
Join Date: Jul 2003
Posts: 878
Default batch job question

Hi, I am trying to create a 2 batch files. One to automate directory and folder creation and placement in hierarchical tree structure. It has to be at least a 3 Tier tree of folders. The other is to create a separate batch file to automate removal of bottom two tiers. I appreciate any and all help. I just am having a hard time picking this stuff up.
__________________

24giovanni is offline  
Old 07-12-2006, 10:26 PM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

mkdir

rmdir

and argument passing

execute:
file.bat one two

file.bat:
@echo off
echo %1
echo %2

output:
one
two
office politics is offline  
Closed Thread

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 12:26 PM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.