Seite 1 von 1

Simple question: Creating folders

Verfasst: 23 Okt 2014, 13:41
von florifreeman
Hi guys,

i have a very simple question, but i didn´t find any satisfying answer on the net: Is it possible to create Folders with opsi on an Windows 7/8 machine? How?

Regards

Re: Simple question: Creating folders

Verfasst: 23 Okt 2014, 14:03
von holgerv
florifreeman hat geschrieben:Is it possible to create Folders with opsi on an Windows 7/8 machine? How?

Code: Alles auswählen

[Actions]
DosInAnIcon_mkdir

[DosInAnIcon_mkdir]
mkdir "%ProgramFilesSysnativeDir%\TestFolder"
Regards


Holger

Re: Simple question: Creating folders

Verfasst: 23 Okt 2014, 20:39
von florifreeman
Thank you very much!!

Re: Simple question: Creating folders

Verfasst: 30 Okt 2014, 12:47
von pandel
Alternative:

Code: Alles auswählen

[Actions]
WinBatch_mkdir

[WinBatch_mkdir]
CheckTargetPath "%ProgramFilesSysnativeDir%\TestFolder"
If you need this in a WinBatch section, you don't need an extra DosInAnIcon section only for creating a path...