Search found 4309 matches
- 26 Feb 2012 11:29
- Forum: DOS Batch Forum
- Topic: Batch File to EXE and Hide Files
- Replies: 16
- Views: 14699
Re: Batch File to EXE and Hide Files
Sounds like you need a different batch packager. The ones I have used in the past allow to include any additional resource files you need.
- 25 Feb 2012 18:20
- Forum: DOS Batch Forum
- Topic: Very basic guess the number program HELP!
- Replies: 4
- Views: 3667
Re: Very basic guess the number program HELP!
No you did not correct all the issues with your original code. Copy and paste aGerman's code he gave you.
- 25 Feb 2012 17:07
- Forum: DOS Batch Forum
- Topic: Explorer selection?
- Replies: 8
- Views: 7278
Re: Explorer selection?
foxidrive wrote:You can also place the batch file in the SENDTO folder and use right click, send to the batch file.
Yeah. And since it looks like they are using Vista or 7 the batch file could use the CLIP command to copy the path or file name to the clipboard.
- 25 Feb 2012 12:45
- Forum: DOS Batch Forum
- Topic: Explorer selection?
- Replies: 8
- Views: 7278
Re: Explorer selection?
You can drag and drop a file onto a batch file. The files you drag and drop onto a batch file becomes its command line arguments so you can access them just like you would if you were launching the batch file with a command line from the cmd prompt. @echo off echo This is the path of the file: %~f1 ...
- 25 Feb 2012 12:19
- Forum: DOS Batch Forum
- Topic: Very basic guess the number program HELP!
- Replies: 4
- Views: 3667
Re: Very basic guess the number program HELP!
Well I can see you have a spelling error. That might help a bit.
- 25 Feb 2012 09:46
- Forum: DOS Batch Forum
- Topic: run a (16-bit) .COM executable that has been renamed
- Replies: 7
- Views: 9431
Re: run a (16-bit) .COM executable that has been renamed
Hmm. I wonder if we could trick it with Alternate Data Streams.
You would still need the ability to modify some files system attributes.
You would still need the ability to modify some files system attributes.
- 25 Feb 2012 08:21
- Forum: DOS Batch Forum
- Topic: run a (16-bit) .COM executable that has been renamed
- Replies: 7
- Views: 9431
Re: run a (16-bit) .COM executable that has been renamed
I'm trying to run a couple of 16-bit legacy DOS programs from a standard windows XP dos prompt. The problem is that the file extensions have been renamed from .COM to .COS and they are stored on read-only media and I can't copy them (special environment). You read but can't copy them? I know we cou...
- 25 Feb 2012 08:14
- Forum: DOS Batch Forum
- Topic: school assignment, any help asap is very appreciated
- Replies: 8
- Views: 7992
Re: school assignment, any help asap is very appreciated
:roll: NUMBERS: @echo off title YOURNAME's ASSIGNMENT NAME set t=0 :jhji set /a t+=1 echo Number: %t% if %t%==50 echo Hello if %t%==100 echo World @ping 127.0.0.1 -n 1 -w 1 >nulc goto jhji -BallisticX the 12 yr old programmer There is a reason we directed him to use a FOR loop. More efficient. Nor ...
- 24 Feb 2012 09:31
- Forum: DOS Batch Forum
- Topic: how do I hard code parameters in batch file
- Replies: 4
- Views: 5096
Re: how do I hard code parameters in batch file
%1 is the character you want to replace.
%2 is the character you want to replace it with.
%3 is the filename
%2 is the character you want to replace it with.
%3 is the filename
- 24 Feb 2012 08:30
- Forum: DOS Batch Forum
- Topic: problems with FINDSTR in multiline search
- Replies: 4
- Views: 5398
Re: problems with FINDSTR in multiline search
Your search parameter also has another fundamental flaw.
You are searching for any amount of numbers, then a LF and then a semi colon but your example is number semicolon and then there would be a LF if your file is unix based.
You are searching for any amount of numbers, then a LF and then a semi colon but your example is number semicolon and then there would be a LF if your file is unix based.
- 23 Feb 2012 16:00
- Forum: DOS Batch Forum
- Topic: Wait until application finished
- Replies: 16
- Views: 18490
Re: Wait until application finished
You may be caught in a catch22. Some programs do not play nice with the /wait switch either. But either way how would we know the program is finished if it is not closing itself?
- 23 Feb 2012 06:22
- Forum: DOS Batch Forum
- Topic: school assignment, any help asap is very appreciated
- Replies: 8
- Views: 7992
Re: school assignment, any help asap is very appreciated
foxidrive wrote:@echo off
for %%a in (a b c d e f g h i j k l m n o p q r s t) do net user "%%~a" /add
- 22 Feb 2012 20:04
- Forum: DOS Batch Forum
- Topic: school assignment, any help asap is very appreciated
- Replies: 8
- Views: 7992
Re: school assignment, any help asap is very appreciated
Well I don't think posting twice will help you any quicker. What does your teacher get paid to do?
Open up a command prompt and type: for /?
You can do the same thing with the net command to see the syntax. Can probably do the same with Google.
Open up a command prompt and type: for /?
You can do the same thing with the net command to see the syntax. Can probably do the same with Google.
- 22 Feb 2012 10:26
- Forum: DOS Batch Forum
- Topic: Performance issues variable VS file
- Replies: 9
- Views: 11246
Re: Performance issues variable VS file
dbenham wrote:This is a major bummer
I agree. I was hoping for a better outcome as well.
- 22 Feb 2012 06:21
- Forum: DOS Batch Forum
- Topic: Performance issues variable VS file
- Replies: 9
- Views: 11246
Re: Performance issues variable VS file
found out today that more +n will stop at 65534 lines and will then output -- more -- to your output file. Confirmed on XP Pro SP3 Bingo. I was helping another user on another forum and someone suggested that they use: more +5 input.txt>output.txt to skip the first 5 lines of a file and output to a...