Search found 4314 matches
- 29 Feb 2012 07:10
- Forum: DOS Batch Forum
- Topic: copy a file to all users profile desktop
- Replies: 15
- Views: 26863
Re: copy a file to all users profile desktop
i already tested everything. windows takes all files the first time profile creation. after create the profile it wont. thats what i asked the script, it is easy to do with the script. i am new to batch. could you help anyone. read the following line The new profile is in fact created by making a c...
- 28 Feb 2012 17:06
- Forum: DOS Batch Forum
- Topic: How to get in CMD Office 12 info?
- Replies: 2
- Views: 3292
Re: How to get in CMD Office 12 info?
Correct. That vbscript is only for Office 2010.
- 28 Feb 2012 16:47
- Forum: DOS Batch Forum
- Topic: Batch File to EXE and Hide Files
- Replies: 16
- Views: 15084
Re: Batch File to EXE and Hide Files
kpropell wrote:Bat To Exe-Converter (http://www.f2ko.de/programs.php?lang=en&pid=b2e has this feature.
That is the one I have used in the past. Looks like they have updated since I used it a few years ago.
- 28 Feb 2012 14:43
- Forum: DOS Batch Forum
- Topic: copy a file to all users profile desktop
- Replies: 15
- Views: 26863
Re: copy a file to all users profile desktop
I think what you meant to say was EVERY user profile. The All Users profile would be just the one profile and that of course would be easy to do. Why not just use the All Users profile instead of copying it to every user profile on the computer. What happens when a new person logs onto the computer....
- 27 Feb 2012 11:18
- Forum: DOS Batch Forum
- Topic: Batch File to EXE and Hide Files
- Replies: 16
- Views: 15084
Re: Batch File to EXE and Hide Files
A quick note. I don't want the files to ever be decompiled or unzipped. I want the EXE to Remain whole. Thanks Again That is all a BAT to EXE converter does. It packages up all your files into a Self extracting archive. When you execute the exe it unpacks the archive and executes your batch file. T...
- 26 Feb 2012 11:29
- Forum: DOS Batch Forum
- Topic: Batch File to EXE and Hide Files
- Replies: 16
- Views: 15084
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: 3707
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: 7332
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: 7332
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: 3707
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: 9489
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: 9489
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: 8065
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: 5138
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: 5454
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.