Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

how to make batch find the desktop/programs folder?


ghost's Avatar
0 0

the topic name explains it all. how to make batch find the desktop/programs folder? for use as in to create files there and such, why I am asking is because i cant seem to find anything good on google, and the path is different on different languaged systems


ynori7's Avatar
Future Emperor of Earth
0 0

click start and go to search and type 'desktop'. one of the things it should come up with is the folder for the desktop. just open it and look at the path name.


ghost's Avatar
0 0

Well for the Desktop path i know you can find it in the registry at :

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

but you'll need some app to grab it from a batch fileā€¦

For the Program folder just use %programfiles% environment variable.