Search found 4332 matches

by Squashman
29 Feb 2012 10:43
Forum: DOS Batch Forum
Topic: Search and replace
Replies: 11
Views: 8628

Re: Search and replace

The printer needs to be a device. Eg: LPT1
Here is some other options for you.
http://www.robvanderwoude.com/printfiles.php
by Squashman
29 Feb 2012 10:41
Forum: DOS Batch Forum
Topic: Sharepoint automated restore task shedule not working
Replies: 7
Views: 11377

Re: Sharepoint automated restore task shedule not working

When you scheduled the task did you enter in a username and password for the task to run under? Does this use have the appropriate permissions and privileges to run the scheduled task?
by Squashman
29 Feb 2012 10:34
Forum: DOS Batch Forum
Topic: removing dots from filenames
Replies: 7
Views: 13653

Re: removing dots from filenames

Well once the dots are stripped out I think you could just test to see if the -7th or -9th position of the file name is an underscore and rename accordingly by trimming the string appropriately.
by Squashman
29 Feb 2012 07:10
Forum: DOS Batch Forum
Topic: copy a file to all users profile desktop
Replies: 15
Views: 32550

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...
by Squashman
28 Feb 2012 17:06
Forum: DOS Batch Forum
Topic: How to get in CMD Office 12 info?
Replies: 2
Views: 3957

Re: How to get in CMD Office 12 info?

Correct. That vbscript is only for Office 2010.
by Squashman
28 Feb 2012 16:47
Forum: DOS Batch Forum
Topic: Batch File to EXE and Hide Files
Replies: 16
Views: 22029

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.
by Squashman
28 Feb 2012 14:43
Forum: DOS Batch Forum
Topic: copy a file to all users profile desktop
Replies: 15
Views: 32550

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....
by Squashman
27 Feb 2012 11:18
Forum: DOS Batch Forum
Topic: Batch File to EXE and Hide Files
Replies: 16
Views: 22029

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...
by Squashman
26 Feb 2012 11:29
Forum: DOS Batch Forum
Topic: Batch File to EXE and Hide Files
Replies: 16
Views: 22029

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.
by Squashman
25 Feb 2012 18:20
Forum: DOS Batch Forum
Topic: Very basic guess the number program HELP!
Replies: 4
Views: 4445

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.
by Squashman
25 Feb 2012 17:07
Forum: DOS Batch Forum
Topic: Explorer selection?
Replies: 8
Views: 9739

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.
by Squashman
25 Feb 2012 12:45
Forum: DOS Batch Forum
Topic: Explorer selection?
Replies: 8
Views: 9739

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 ...
by Squashman
25 Feb 2012 12:19
Forum: DOS Batch Forum
Topic: Very basic guess the number program HELP!
Replies: 4
Views: 4445

Re: Very basic guess the number program HELP!

Well I can see you have a spelling error. That might help a bit.
by Squashman
25 Feb 2012 09:46
Forum: DOS Batch Forum
Topic: run a (16-bit) .COM executable that has been renamed
Replies: 7
Views: 11502

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.
by Squashman
25 Feb 2012 08:21
Forum: DOS Batch Forum
Topic: run a (16-bit) .COM executable that has been renamed
Replies: 7
Views: 11502

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...