Search found 187 matches

by Fawers
21 Jun 2012 20:08
Forum: DOS Batch Forum
Topic: +[HELP] With Date Stamp Daily Backup+
Replies: 9
Views: 1296

Re: +[HELP] With Date Stamp Daily Backup+

(...) and also now that I have encrypted it via my batch compiler with an icon and pinned to my taskbar no one will be able to open it up to read it anyway... Unless someone with some knowledge on these compilers uses your machine. These "compilers" send the original .cmd/.bat to %temp% w...
by Fawers
21 Jun 2012 17:42
Forum: DOS Batch Forum
Topic: Why this code don't work?
Replies: 8
Views: 1443

Re: Why this code don't work?

Does typeperf need adm privileges?
by Fawers
21 Jun 2012 17:01
Forum: DOS Batch Forum
Topic: Why this code don't work?
Replies: 8
Views: 1443

Re: Why this code don't work?

The output i want is the output of typeperf when lanched in a command prompt window We can understand that. The first two line don't needed I'll interpret this as "the first two lines are not needed." Try this from command line: for /f "skip=2 delims=" %a in ('typeperf "\Pr...
by Fawers
21 Jun 2012 16:20
Forum: DOS Batch Forum
Topic: DOS and VBScript - A Better Interaction?
Replies: 18
Views: 3751

Re: DOS and VBScript - A Better Interaction?

I only use the best: assembly language! More than 25 years ago I wrote several small programs as auxiliary commands for Batch files. They were really small files, less than 400 bytes the majority. For example, below is my GetKey program that read a key from keyboard and return its Ascii code via ER...
by Fawers
21 Jun 2012 16:16
Forum: DOS Batch Forum
Topic: executing .sql file
Replies: 1
Views: 654

Re: executing .sql file

Both of them apparently need and external program: "sqlcmd". Do you have it?
by Fawers
21 Jun 2012 16:14
Forum: DOS Batch Forum
Topic: +[HELP] With Date Stamp Daily Backup+
Replies: 9
Views: 1296

Re: +[HELP] With Date Stamp Daily Backup+

I think this will meet your needs. @echo off title [ + DAILY BACKUP TO THUMBDRIVE + ] set "dateNow=%date:~4,2%-%date:~7,2%-%date:~10,4%" ECHO dateNow = %dateNow% PAUSE ::remove ECHO and PAUSE lines if output is the one desired. ::LINE 1) - Backup Folder-<mo-day-yr>:: md e:\%dateNow% ::LINE...
by Fawers
21 Jun 2012 15:58
Forum: DOS Batch Forum
Topic: Why this code don't work?
Replies: 8
Views: 1443

Re: Why this code don't work?

What exactly did you want as output?

I'm not acquainted to TYPEPERF, but a brief reading on a website made me wonder what you expected.
by Fawers
19 Jun 2012 23:00
Forum: DOS Batch Forum
Topic: Copy File:If Empty Or Not Exists - NOTIFY- If Exists - COPY
Replies: 13
Views: 3351

Re: Copy File:If Empty Or Not Exists - NOTIFY- If Exists - C

That's right - I can't understand neither description nor code. Here's my bet anyway: @echo off ::define your variables pushd "%SourcePath%"||(echo "SourcePath" is not defined.&pause&exit /b) for /f "tokens=1,2" %%a in ('dir *.dat') do if /i "%%b" == &...
by Fawers
19 Jun 2012 22:41
Forum: DOS Batch Forum
Topic: Fun (or perhaps not) with COPY and wild cards
Replies: 8
Views: 1706

Re: Fun (or perhaps not) with COPY and wild cards

You're right, Dave. I hadn't tested that until now, and it works the way you said.
Unexpected, I must say.
by Fawers
19 Jun 2012 16:45
Forum: DOS Batch Forum
Topic: Copy File:If Empty Or Not Exists - NOTIFY- If Exists - COPY
Replies: 13
Views: 3351

Re: Copy File:If Empty Or Not Exists - NOTIFY- If Exists - C

What are the source and destinations paths?
by Fawers
19 Jun 2012 16:31
Forum: DOS Batch Forum
Topic: Script for backup file with extension
Replies: 3
Views: 856

Re: Script for backup file with extension

So... Solved? lol
by Fawers
19 Jun 2012 16:27
Forum: DOS Batch Forum
Topic: ~ PROXY SWITCHER ~
Replies: 10
Views: 195856

Re: ~ PROXY SWITCHER ~

Not sure why you continue to spell out the whole REG ADD. Make that whole line a variable or just put it in with your START %key% command. Your %key% variable could just be the IP address and port. Sounds like a good time saver Squash .. Can u give me an example so I wont have to copy and paste in ...
by Fawers
19 Jun 2012 16:22
Forum: DOS Batch Forum
Topic: Fun (or perhaps not) with COPY and wild cards
Replies: 8
Views: 1706

Re: Fun (or perhaps not) with COPY and wild cards

It's true that COPY presented a strange behaviour when copying a*.txt to test*.txt - at least to my eyes. "test*.txt" used a wildcard as well, so COPY was supposed to create test1.txt, test2.txt, and test3.txt.
by Fawers
18 Jun 2012 22:31
Forum: DOS Batch Forum
Topic: .exe dos based program that contains menu won't open
Replies: 19
Views: 3847

Re: .exe dos based program that contains menu won't open

What is the full path to the executable?
by Fawers
18 Jun 2012 18:26
Forum: DOS Batch Forum
Topic: .exe dos based program that contains menu won't open
Replies: 19
Views: 3847

Re: .exe dos based program that contains menu won't open

phyxe, try running this .exe directly from command line. The cmd window should not close at all, and you must be able to see the error message, if there is one.

The problem is more likely what foxi said, it must be a third party application that doesn't exist on the new pc.