Search found 384 matches

by Samir
27 Feb 2014 10:46
Forum: DOS Batch Forum
Topic: AutoCheck webpage for new content
Replies: 5
Views: 5475

Re: AutoCheck webpage for new content

What is 'new content' ? The most simplistic comparison would be to get the web page, and compare it using FC on the next download in say 30 minutes time. If that works for you then a VBS script can download the web page, or you can use WGET. This was my thinking since wget is good for downloading s...
by Samir
27 Feb 2014 10:35
Forum: DOS Batch Forum
Topic: CSV to QIF Using Batch?
Replies: 9
Views: 9224

Re: CSV to QIF Using Batch?

I figured out how to use an if else to solve the issue of the paycheck date two digit being the same as the year two digit. And all has been fine until today... So all of a sudden, the batch file is no longer reading data from the correct file. I've even tried reverting to an earlier version of the ...
by Samir
10 Feb 2014 13:57
Forum: DOS Batch Forum
Topic: If Else with FIND command
Replies: 5
Views: 9185

Re: If Else with FIND command

Oops! I think I figured it out. I was using errorlevel 1 as being successful. :oops:
by Samir
10 Feb 2014 13:41
Forum: DOS Batch Forum
Topic: If Else with FIND command
Replies: 5
Views: 9185

Re: If Else with FIND command

I hate to bump an old thread, but I'm having trouble getting this to work. It seems like the errorlevel just isn't begin registered by find to be checked by if. I've used if else in the following: FIND "/14/14" IMPORT > NUL IF ERRORLEVEL 1 ( S:\SCRIPTS\REPLACE.BAT /14/14 /14'14 IMPORT > .....
by Samir
18 Jan 2014 12:54
Forum: DOS Batch Forum
Topic: sending things over serial
Replies: 5
Views: 4811

Re: sending things over serial

Your best bet may be to find an older DOS comm program like quicklink that had scripting capability.
by Samir
18 Jan 2014 12:45
Forum: DOS Batch Forum
Topic: Find Files Older than XX/XX/XX
Replies: 7
Views: 23474

Find Files Older than XX/XX/XX

I was looking at the output of an xcopy from one drive to another to update newer files and started thinking of how to simply query a drive for a list of files older than xx/xx/xx. Find can be used to find files of a certain date easily with dir /s|find /i "xx-xx-xxxx" but I want something...
by Samir
29 Nov 2013 08:59
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

Endoro wrote:two more editors, for whom it may concern
Komodo, freeware
EditPlus, payware
Looks like Komodo is only a trial?
by Samir
29 Nov 2013 08:56
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

Sorta seems there should be a file checker, like a spell checker in word. Highlight possibly missing a variable symbol here or this echo will echo nothing, this variable will be empty. AutoHotKey at least runs a check first (of the whole file) before running, it even points to where the issue is. J...
by Samir
29 Nov 2013 08:48
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

brinda wrote:great to be back on this lively forum. Using one of tool dbenham recommended in one of the post here

http://www.contexteditor.org/

free and works for me
Thank you for the link! This one seems like it will be cool to use. 8)
by Samir
27 Nov 2013 21:58
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

Samir, My notepad++ comes with keyword highlighting. Not necessarily syntax highlighting. Some examples it highlights FOR or SET, variables. It doesn't tell you if they're wrong. It is helpful though. I've seen that before, and I know notepad++ has extensions, so I was hoping someone built one for ...
by Samir
27 Nov 2013 15:04
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

Which editor has batch syntax highlighting? I want! I have Visual Studio 6.0, and downloaded a batch highlighter extension, but i didn't found it anymore. But this is an highlighter Extension including *.bat: http://visualstudiogallery.msdn.microsoft.com/6706b602-6f10-4fd1-8e14-75840f855569 Hopeful...
by Samir
27 Nov 2013 14:51
Forum: DOS Batch Forum
Topic: RAID 1.3 via DOS?
Replies: 18
Views: 14399

Re: RAID 1.3 via DOS?

penpen wrote:Yes.
Thank you. This makes a lot more sense.
by Samir
27 Nov 2013 12:41
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

lol! :shock: :shock: :shock: :shock: :shock:

I see your point. I guess it would only help basic batch file development. :(
by Samir
27 Nov 2013 08:52
Forum: DOS Batch Forum
Topic: RAID 1.3 via DOS?
Replies: 18
Views: 14399

Re: RAID 1.3 via DOS?

In simple terms, a buffer can be just 1 MB and the file is read in 1 MB pieces and processed. Oh, I think I know why I didn't get this at first--I was thinking of serially processing the compares. So in the proposed scenario, you compare both files to the source in parallel, ie you read the source ...
by Samir
27 Nov 2013 08:36
Forum: DOS Batch Forum
Topic: Programming helpful tool suggestions
Replies: 27
Views: 18890

Re: Programming helpful tool suggestions

Advanced Batch is based around tips and tricks and undocumented behaviour, and that behaviour changes even more as further bugs and tricks are found. It would be a daunting task to create a complete and fully featured syntax checker - but there are editors with batch syntax highlighting that can he...