Search found 53 matches

by AR Coding
28 Jan 2022 14:33
Forum: DOS Batch Forum
Topic: Play One Song at a Time
Replies: 5
Views: 6263

Re: Play One Song at a Time

how about:

Code: Select all

start "" /wait "Song 1.mp3"
start "" /wait "Song 2.mp3"
start "" /wait "Song 3.mp3"
by AR Coding
23 Jan 2022 18:45
Forum: DOS Batch Forum
Topic: Batch file help. Needing to position windows.
Replies: 20
Views: 18406

Re: Batch file help. Needing to position windows.

You can try tweaking Steffens code at post #14 (untested) @if (@a)==(@b) @end /* @echo off &setlocal set "start=cscript //nologo //e:jscript %~fs0 " %start% "C:\Program Files\Google\Chrome\Application\chrome.exe" 0 0 goto :eof */ var objWMIService = GetObject('winmgmts:\\\\.\\root\\CIMV2'), objProce...
by AR Coding
19 Jan 2022 21:03
Forum: DOS Batch Forum
Topic: VFile creator
Replies: 15
Views: 14518

Re: VFile creator

Would this topic be helpful?
viewtopic.php?t=3639
by AR Coding
26 Dec 2021 21:19
Forum: DOS Batch Forum
Topic: Date/Time Comparison
Replies: 5
Views: 3289

Re: Date/Time Comparison

OMG! I did not realize, that what a mistake! @aGerman, I am so sorry! Thank you so much for your answer!
by AR Coding
26 Dec 2021 16:47
Forum: DOS Batch Forum
Topic: Date/Time Comparison
Replies: 5
Views: 3289

Re: Date/Time Comparison

Thanks, Squashman. this is my version for my batch file: @echo off &setlocal EnableDelayedExpansion set "dt1=Fri, 27 Aug 2021 12:37:30 GMT" set "dt2=Fri, 27 Aug 2021 12:37:31 GMT" for %%i in ("Jan=01" "Feb=02" "Mar=03" "Apr=04" "May=05" "Jun=06" "Jul=07" "Aug=08" "Sep=09" "Oct=10" "Nov=11" "Dec=12")...
by AR Coding
25 Dec 2021 22:43
Forum: DOS Batch Forum
Topic: Date/Time Comparison
Replies: 5
Views: 3289

Date/Time Comparison

Hi, i have looked all over this forum but i cant seem to find what im looking for. I have a date in the following format: Fri, 27 Aug 2021 12:37:30 GMT i want to know if it is possible to do a date/time comparison and check if another date/time in the same format is older/newer than the specified on...
by AR Coding
18 Dec 2021 22:38
Forum: DOS Batch Forum
Topic: toggle case
Replies: 2
Views: 2891

Re: toggle case

by AR Coding
11 Dec 2021 18:52
Forum: DOS Batch Forum
Topic: Finding /? in arguments
Replies: 7
Views: 4915

Re: Finding /? in arguments

Szecska wrote:
10 Dec 2021 10:47
I'm 100% certain this question has been asked and answered already, but its literally impossibble to search for.
You can use also Google as a search engine. just add site:dostips.com in the search bar after whatever you want to search for.
by AR Coding
03 Dec 2021 08:41
Forum: DOS Batch Forum
Topic: Adding Serial Number while rename files through MS-Dos
Replies: 4
Views: 3264

Re: Adding Serial Number while rename files through MS-Dos

Is this what you mean?

Code: Select all

Setlocal EnableDelayedExpansion 
set i=0
set "filepath=C:\Folder\of\files"
for /R %filepath% %%a in (*.*) do (
 set /a i+=1
 ren "%%~dpnxa" "!i!. %%~nxa"
)
by AR Coding
03 Nov 2021 20:44
Forum: DOS Batch Forum
Topic: check for updates option
Replies: 8
Views: 5602

Re: check for updates option

Squashman wrote:
26 Oct 2021 08:49
AR Coding wrote:
26 Oct 2021 05:04
Thanks, Squaushman. your awesome! :)
I always thank Google for having such a great search engine because that is all I did.
would you mind sharing the link to the website where you found that?
by AR Coding
30 Oct 2021 22:31
Forum: DOS Batch Forum
Topic: copying the latest of some folders to a new destination
Replies: 10
Views: 7026

Re: copying the latest of some folders to a new destination

I dont know if this helps but i fixed some quoteS

Code: Select all

set "source=C:\folderpath"
set "destination=C:\destinationpath"

FOR /F "delims=" %%I IN ('DIR "%source%\*.*" /A:D /O:-D /B') DO COPY "%source%\%%I" "%destination%" && echo %%I
by AR Coding
26 Oct 2021 05:04
Forum: DOS Batch Forum
Topic: check for updates option
Replies: 8
Views: 5602

Re: check for updates option

Thanks, Squaushman. your awesome! :)
by AR Coding
25 Oct 2021 21:19
Forum: DOS Batch Forum
Topic: check for updates option
Replies: 8
Views: 5602

Re: check for updates option

Thanks for the suggestion Joe! i will use that, but i would perfer something that works for all versions, but thanks Anyway!
is there no vbscript/jscript/powershell hybrid ?
by AR Coding
23 Oct 2021 19:45
Forum: DOS Batch Forum
Topic: check for updates option
Replies: 8
Views: 5602

check for updates option

Hi, i have a program that i want to add an option to the menu to check for updates for the program. Ive seen this thread https://www.dostips.com/forum/viewtopic.php?p=14820#p14820 But i dont want it to actually download the file is that possible (Perferably no 3rd party executables)? Here are the st...