I am trying to write a simple Batch File to launch an exe using some basic CMD PRMPT functions. I know exactly what I need to do, but my only problem is I don't know how to detect the Desktop Folder? What if its in Documents and Settings, or if they have a newer computer in Users? Ty for any help :)
Jump to Post
I'm not sure you've posted in the correct forum, I think you want the shell scripting forum!
Anyway, I think what you're after is this:
So if you wanted to navigate into the current users Desktop folder in your .bat file, then you would use:…
All 3 Replies
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.