user3051436
user3051436

Reputation: 29

Create folder in a particular place via bat file

i want to create a folder named Search in following path C:\Program Files\Search Engine Builder Standard\Projects\Search with batch file

Upvotes: 0

Views: 246

Answers (1)

Stephan
Stephan

Reputation: 56180

you need to enclose a path with spaces in doublequotes:

mkdir "C:\Program Files\Search Engine Builder Standard\Projects\Search"

Else mkdir will make several directories. In your case: C:\Program and Files\Search and Engine and so on...

(and you need Admin-Rights do write to program files, as rriower already stated)

Upvotes: 2

Related Questions