Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie question on creating directories

Status
Not open for further replies.

Molenski

IS-IT--Management
Jan 24, 2002
288
DE
Hi there,

Just got back from an SMS2.0 course and I'm trying to build a package using SMSInstaller. As part of the build I need to create two directories on the C:\ and apply permissions on them (NTFS).

I can't really work out how to do it. I tried to use a batch file as part of the build process which created the directories and applied permissions using CACLS. No joy when I compiled.

I then tried to used the advanced editor option and I saw there was a create directory option there (drag and drop). I entered the paths - C:\Dir1 and C:\Dir2 and tried to compile but got an error message asking for the system root variable. I'm not sure what this is for a start and also that wouldn't give me the permissions I want on the two directories.

Can someone help please.

Thanks a lot.



Molenski
As my bessie bud Kev always says - "Get involved!!!"
 
item: Create Directory
Pathname=c:\whatever
end


the system root variable shoulds have nothing to do with this,

item: Set Variable
Variable=CROOT
Value=C:
end


add the second part and you should be ok :)
 
thanks, ill give it a go and see how i get on!

Molenski
As my bessie bud Kev always says - "Get involved!!!"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top