Search found 6 matches

by sri
13 Aug 2009 02:06
Forum: DOS Batch Forum
Topic: Stop a service on Remote server
Replies: 1
Views: 4243

Stop a service on Remote server

Hi All I would like to stop a windows service remotely and wait until the service stops before proceeding to the next line of code. In other words, To write a batch code to stop services with dependencies, One service should stop completely before stopping the second one. The code that i have writte...
by sri
17 Aug 2008 21:56
Forum: DOS Batch Forum
Topic: String Manipulation/String Tokenization in DOS
Replies: 5
Views: 12054

Thanks

Thanks very much for both the replies. Appreciate your help
by sri
14 Aug 2008 23:38
Forum: DOS Batch Forum
Topic: String Manipulation/String Tokenization in DOS
Replies: 5
Views: 12054

Hi greenfich Thanks for your help. i am trying to incorporate the same logic into my bat script that i am working on but i am getting an error, " ( was unexpected at this time. " @Echo off set checkfilename=filename set find1=same set find2=diff REM I have two files in temp directory REM f...
by sri
14 Aug 2008 23:23
Forum: DOS Batch Forum
Topic: String Manipulation Error
Replies: 2
Views: 7526

String Manipulation Error

Hi Can you please help with the below problem I am trying to do a string compare but i am getting "The syntax of the command is incorrect" @Echo off setlocal enabledelayedexpansion set check=some set fourchars= FOR /F "TOKENS=1,2 DELIMS=_." %%a IN ("file_somenamev1.3.zip...
by sri
14 Aug 2008 06:41
Forum: DOS Batch Forum
Topic: String Manipulation/String Tokenization in DOS
Replies: 5
Views: 12054

thanks

thanks very much for your help. it worked
by sri
06 Aug 2008 06:47
Forum: DOS Batch Forum
Topic: String Manipulation/String Tokenization in DOS
Replies: 5
Views: 12054

String Manipulation/String Tokenization in DOS

Hi I am trying to extract substring using tokens but i couldn't extract the second token in the string Here is an example what i am trying to do --------------------------------------------------- i have a list of files in a folder, the filenames are something like file_somenamev1.3.zip i need to ex...