Search found 81 matches

by julesverne
27 Nov 2013 04:30
Forum: DOS Batch Forum
Topic: Setting a variable from an entire txt file
Replies: 15
Views: 5060

Setting a variable from an entire txt file

Hi all, Another problem that has my head scratching, I don't even know if it's possible. For a batch file or from cmdline. Can you set 1 variable from an entire txt file, similar as SOLVED here on stackoverflow: http://stackoverflow.com/questions/134001/how-can-i-load-the-contents-of-a-text-file-int...
by julesverne
19 Nov 2013 13:45
Forum: DOS Batch Forum
Topic: odd behavior with cmd echo writing to txt
Replies: 7
Views: 2738

Re: odd behavior with cmd echo writing to txt

hah! that's perfect squashman! haha. I love simple. I guess at least I learned a few things in the process though. Thanks to you and foxidrive for the help.
by julesverne
19 Nov 2013 04:57
Forum: DOS Batch Forum
Topic: odd behavior with cmd echo writing to txt
Replies: 7
Views: 2738

Re: odd behavior with cmd echo writing to txt

Thanks so much foxidrive. Sorry.. my bad for not making clear about dropping files. That part of the batch happens in a different section of the script. I only included the part here that I was having trouble with so it wouldn't be a whole mess of code to analyze. Anyway, your script worked however ...
by julesverne
19 Nov 2013 02:50
Forum: DOS Batch Forum
Topic: odd behavior with cmd echo writing to txt
Replies: 7
Views: 2738

Re: odd behavior with cmd echo writing to txt

Your method definitely looks and works a lot better than mine. I was wondering if I needed to escape the paranthesis. The vbs script is finally getting written correctly except for the variable. In order for the window to come to the front the syntax needs to be just the folder path without the trai...
by julesverne
19 Nov 2013 01:53
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 7300

Programming helpful tool suggestions

So I've been creating batch programs for about a year and a half now. Sounds funny, but I love it. However, after my recent discovery of autohotkey, and notepad++ I've realized that I've really started from the ground up. Now that I've done this for awhile I want to make things easier for myself. No...
by julesverne
19 Nov 2013 01:32
Forum: DOS Batch Forum
Topic: odd behavior with cmd echo writing to txt
Replies: 7
Views: 2738

odd behavior with cmd echo writing to txt

Hi all, Long time time reader, first time poster. I recently wrote a batch program utilizing sendto parameters (%*), that would end with the batch program bringing up the working windows folder back to the forefront. I'm not interested in using autohotkey to do it, although I have to admit I recentl...