Search found 6 matches
- 13 Mar 2013 06:35
- Forum: DOS Batch Forum
- Topic: Registry key to find installation directory
- Replies: 3
- Views: 3516
Registry key to find installation directory
H all, I'm looking for a way to find (and run) a program that can be installed anywhere on the PC. I've found some code that lists all the installed programs on the PC, from this, is there a way to extract the "InstallLocation" of a specific program then run the *.exe? Here's what I'm usin...
- 11 Mar 2013 18:11
- Forum: DOS Batch Forum
- Topic: Find OS
- Replies: 6
- Views: 8749
Re: Find OS
Squashman wrote:Put double quotes around the values you are comparing.
Like a charm, thanks!!
- 11 Mar 2013 17:19
- Forum: DOS Batch Forum
- Topic: Find OS
- Replies: 6
- Views: 8749
Find OS
Evening all, I'm very new to writing batch files and need a bit of help. I've "borrowed" some code off the internet to find the OS and now I want to add a "goto" command in but I can't seem to get it to work. Where am I going wrong? Original code: ::Identify OS ver | find /i &quo...
- 08 Mar 2013 19:37
- Forum: DOS Batch Forum
- Topic: Command to find "friendly" username
- Replies: 6
- Views: 4942
Re: Command to find "friendly" username
Holy hell! All of that to do 1 little thing!?
Thank you so much!!
Thank you so much!!
- 08 Mar 2013 18:58
- Forum: DOS Batch Forum
- Topic: Command to find "friendly" username
- Replies: 6
- Views: 4942
Re: Command to find "friendly" username
Awesome, worked a treat! Thanks!
You've said I can
Also, can I make the first letter of the name capitalised? I.e. dave to Dave?
Thanks again.
You've said I can
... How??assign them to a variable and use them later in your code
Also, can I make the first letter of the name capitalised? I.e. dave to Dave?
Thanks again.
- 08 Mar 2013 18:07
- Forum: DOS Batch Forum
- Topic: Command to find "friendly" username
- Replies: 6
- Views: 4942
Command to find "friendly" username
Hi, I'm very new to using batch files but they do exactly what I want, easily! I'm looking for an extension of the %USERNAME% command. I'm on a domain and our usernames are "firstname.surname" so that's what the %USERNAME% command returns. When I look in the Start menu, I seen "Surnam...