Thanks a lot guys,
now it makes some sense,
I appreciate the help you guys gave
Thx Guy
Search found 4 matches
- 08 Jan 2013 10:42
- Forum: DOS Batch Forum
- Topic: directory name in Uppercase
- Replies: 10
- Views: 8882
- 05 Jan 2013 21:51
- Forum: DOS Batch Forum
- Topic: directory name in Uppercase
- Replies: 10
- Views: 8882
Re: directory name in Uppercase
This should also handle long directory names. Variables with spaces in are a bad idea and the same applies to labels. @ECHO OFF setlocal enabledelayedexpansion set "directoryname=" SET /P "directoryname=Enter a directory name: " IF NOT EXIST "%directoryname%\" GOTO exe...
- 05 Jan 2013 21:47
- Forum: DOS Batch Forum
- Topic: directory name in Uppercase
- Replies: 10
- Views: 8882
Re: directory name in Uppercase
Squashman wrote:Some of your syntax looks a bit off but maybe that is your translation.
The Library has an upper case function.
http://www.dostips.com/DtCodeCmdLib.php ... on.toUpper
Hey, thanks for the tip,
but I tried this already and somehow I couldn't get it to work, I am a newbie in DOS
but thank you very much for your help
Guy
- 04 Jan 2013 21:45
- Forum: DOS Batch Forum
- Topic: directory name in Uppercase
- Replies: 10
- Views: 8882
directory name in Uppercase
Hello people, I am new here and I was wondering if someone could help me out here. For school I have to create a batchfile that checks if a directory exists, and if not creates one with the name given by the user. Now It does all that, but it should automaticly convert the directory name to Capitals...