Simple question: Creating folders

Antworten
florifreeman
Beiträge: 20
Registriert: 25 Jul 2014, 15:01

Simple question: Creating folders

Beitrag 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
holgerv
Beiträge: 288
Registriert: 20 Aug 2012, 09:35

Re: Simple question: Creating folders

Beitrag 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
florifreeman
Beiträge: 20
Registriert: 25 Jul 2014, 15:01

Re: Simple question: Creating folders

Beitrag von florifreeman »

Thank you very much!!
pandel
Beiträge: 830
Registriert: 25 Jan 2013, 16:47

Re: Simple question: Creating folders

Beitrag 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...
Antworten