Jan 042011
 

Top 10 DOS Batch tips (Yes, DOS Batch…)

From (http://weblogs.asp.net/jgalloway/archive/2006/11/20/top-10-dos-batch-tips-yes-dos-batch.aspx)

PowerShell’s great. I’m fired up about the opportunity to use .NET objects from simple scripts. I’ll admit I’m still getting up to speed with it, but I’m totally sold on PowerShell.

However, it’s not installed on a lot of servers I work with, and I still do a lot of my “clumsy developer attempting DBA and network admin” tasks from DOS Batch files. You can do quite a bit with DOS Batch – the silly fact is the my most popular posts (by a huge margin) are some batch scripts to allow running IE7 and IE6 on the same computer.

So, by way of tribute to the dying art of the DOS Batch file, I present my top ten batch file tricks:

  1. Use PUSHD / POPD to change directories
    Read Scott Hanselman’s writeup on PUSHD. The basic idea is that it keeps a stack, so at the simplest level you can do something like this:
  2. PUSHD “C:\Working Directory\”
  3. ::DO SOME WORK

    POPD


    That allows you to call the batch file from any directory and return to the original directory when you’re done. The cool thing is that PUSHD can be nested, so you can move all over the place within your scripts and just POPD your way out when you’re done.

  4. Call FTP scripts
    This sample prompts for the username and password, but they can of course be hardcoded if you’re feeling lucky.
  5. set FTPADDRESS=ftp.myserver.com
  6. set SITEBACKUPFILE=FileToTransfer.zip
  7. set /p FTPUSERNAME=Enter FTP User Name:
  8. set /p FTPPASSWORD=Enter FTP Password:
  9. CLS
  10. > script.ftp USER
  11. >>script.ftp ECHO %FTPUSERNAME%
  12. >>script.ftp ECHO %FTPPASSWORD%
  13. >>script.ftp ECHO binary
  14. >>script.ftp ECHO prompt n
  15. :: Use put instead of get to upload the file
  16. >>script.ftp ECHO get %SITEBACKUPFILE%
  17. >>script.ftp ECHO bye
  18. FTP -v -s:script.ftp %FTPADDRESS%
  19. TYPE NUL >script.ftp

    DEL script.ftp

  20. Read from the registry
    You can make creative use of the FOR command to read from and parse a registry value (see my previous post for more info).

    FOR /F “tokens=2* delims= ” %%A IN (‘REG QUERY “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL” /v SQL2005’) DO SET SQLINSTANCE=%%B

  21. Run SQL Commands
    You can call OSQL (or SQLCMD on servers with SQL 2005 installed) to execute SQL commands:

    osql -E -d master -Q “BACKUP DATABASE [%DATABASENAME%] TO DISK = N’D:\DataBase\Backups\%DATABASENAME%_backup’ WITH INIT , NOUNLOAD , NAME = N’%DATABASENAME% backup’, NOSKIP , STATS = 10, NOFORMAT”

  22. Check if a file or folder exists
    I used this to do a quick and dirty check to see if a Windows Hotfix had been installed in my IE7 Standalone scripts:
  23. IF EXIST %SystemRoot%\$NtUninstallKB915865$\ GOTO KB_INSTALLED
  24. ECHO Installing Hotfix (KB915865) to allow tab support

    START /D “%~dp0/Installation/Update/” xmllitesetup.exe

  25. Pause execution for a number of seconds
    There are different ways to do this from within a batch file, all with their tradeoffs. I use a ping to an invalid IP address with a timeout. The best way to do this is to find an invalid IP address and then pint it, but 1.1.1.1 is a pretty safe bet:
  26. ECHO Waiting 15 seconds

    PING 1.1.1.1 -n 1 -w 15000 > NUL

  27. Use defaults for optional parameters
    It’s not really easy to check for a missing parameter. You have to use something like “IF dummy==%1dummy”, which will only be true if %1 is empty. So, for example, here we’re allowing a user to supply an application path via the third parameter, and defaulting it if it’s missing. By the way, beware the IF syntax. The line spacing makes a difference, so this is one that I just copy and paste to avoid figuring it out every time.
  28. IF dummy==dummy%3 (
  29. SET APPLICATIONPATH=”C:\Program Files\MyApp\”
  30. ) ELSE (
  31. SET APPLICATIONPATH = %3

    )

  32. Process each file matching a pattern in a directory
    I previously posted a script which iterates all files named *.bak in a directory and restores them on the local instance of SQL Server. Here’s an excerpt:
  33. PUSHD %BACKUPDIRECTORY%
  34. FOR %%A in (*.bak) do CALL :Subroutine %%A
  35. POPD
  36. GOTO:EOF
  37. :Subroutine
  38. set DBNAME=%~n1
  39. ::RUN SOME OSQL COMMANDS TO RESTORE THE BACKUP

    GOTO:EOF

  40. Use batch parameter expansion to avoid parsing file or directory info
    Batch file parameters are read as %1, %2, etc. DOS Command Extensions – available on Windows 2000 and up – add a lot of automatic parsing and expansion that really simplifies reading filenames passed in as parameters. I originally put this at the top of the list, but I moved it because I figured the insane syntax would drive people off. I wrote a simple batch script that shows some examples. I think that makes it a little more readable. Stick with me, I think this is one of the best features in DOS batch and is worth learning.

    First, here’s the batch file which just echos the processed parameters:

    @echo off

    echo %%~1 = %~1

    echo %%~f1 = %~f1

    echo %%~d1 = %~d1

    echo %%~p1 = %~p1

    echo %%~n1 = %~n1

    echo %%~x1 = %~x1

    echo %%~s1 = %~s1

    echo %%~a1 = %~a1

    echo %%~t1 = %~t1

    echo %%~z1 = %~z1

    echo %%~$PATHATH:1 = %~$PATHATH:1

    echo %%~dp1 = %~dp1

    echo %%~nx1 = %~nx1

    echo %%~dp$PATH:1 = %~dp$PATH:1

    echo %%~ftza1 = %~ftza1

    Now we’ll call it, passing in “C:\Windows\Notepad.exe” as a parameter:

    C:\Temp>batchparams.bat c:\windows\notepad.exe

    %~1 = c:\windows\notepad.exe

    %~f1 = c:\WINDOWS\NOTEPAD.EXE

    %~d1 = c:

    %~p1 = \WINDOWS\

    %~n1 = NOTEPAD

    %~x1 = .EXE

    %~s1 = c:\WINDOWS\NOTEPAD.EXE

    %~a1 = –a——

    %~t1 = 08/25/2005 01:50 AM

    %~z1 = 17920

    %~$PATHATH:1 =

    %~dp1 = c:\WINDOWS\

    %~nx1 = NOTEPAD.EXE

    %~dp$PATH:1 = c:\WINDOWS\

    %~ftza1 = –a—— 08/25/2005 01:50 AM 17920 c:\WINDOWS\NOTEPAD.EXE

    As I said, the syntax is completely crazy, but it’s easy to look them up – just type HELP CALL at a DOS prompt; it gives you this:

    %~1 – expands %1 removing any surrounding quotes (“)
    %~f1 – expands %1 to a fully qualified path name
    %~d1 – expands %1 to a drive letter only
    %~p1 – expands %1 to a path only
    %~n1 – expands %1 to a file name only
    %~x1 – expands %1 to a file extension only
    %~s1 – expanded path contains short names only
    %~a1 – expands %1 to file attributes
    %~t1 – expands %1 to date/time of file
    %~z1 – expands %1 to size of file
    %~$PATH:1 – searches the directories listed in the PATH environment variable and expands %1 to the fully qualified name of the first one found. If the environment variable name is not defined or the file is not found by the search, then this modifier expands to the empty string

    The modifiers can be combined to get compound results:

    %~dp1 – expands %1 to a drive letter and path only
    %~nx1 – expands %1 to a file name and extension only
    %~dp$PATH:1 – searches the directories listed in the PATH environment variable for %1 and expands to the drive letter and path of the first one found.
    %~ftza1 – expands %1 to a DIR like output line

    In the above examples %1 and PATH can be replaced by other valid values. The %~ syntax is terminated by a valid argument number. The %~ modifiers may not be used with %*

  41. Learn from the masters
    By far, my favorite resource for DOS Batch trickery is the Batch Files section of Rob van der Woude’s Scripting Pages. He’s got some good PowerShell resources, too.

What about you? Got any favorite DOS Batch tricks?

Published Monday, November 20, 2006 12:43 AM by Jon Galloway

Filed under: Tips / Tricks, General Software Development

Comments

# Jon Rowett’s Workblog » Links for 20 November 2006

PingBack from http://workblog.jonrowett.com/index.php/2006/11/20/links-for-20-november-2006/

Monday, November 20, 2006 10:07 AM by Jon Rowett’s Workblog » Links for 20 November 2006

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

PUSHD and POPD are great.  An additional advantage over CD is the fact that including a drive letter changes to the drive and directory specified whereas CD just changes the active directory on the specified drive.

If you use them a lot you can save a fair bit of typing by defining two one-line command files +.cmd and -.cmd somewhere on your path.  They simply contain;

+.cmd

 @pushd %1

-.cmd

 @popd

Now you can just run + <dir> to enter a directory and – to return.

Monday, November 20, 2006 10:42 AM by Steve Crane

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

one more that I just recalled, from reading Steve’s comment

cd /d <driveletter:\directory>

changes both, the directory and the drive letter

Monday, November 20, 2006 12:25 PM by Eber Irigoyen

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Very good!

And this tip: “Pause execution for a number of seconds” Gosh! Why didn’t I think of it before?

Thanks for all these tips!

[]’s

Cleydson

Tuesday, November 21, 2006 11:07 AM by Cleydson

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

sleep 15 seconds:

sleep 15

Wednesday, November 29, 2006 1:25 PM by oscar

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

@oscar – The sleep command isn’t available on a default install. It’s part of the Windows 2003 Resource Kit, which is a separate download.

Wednesday, November 29, 2006 2:08 PM by Jon Galloway

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

I love using the findstr.exe that is built into Windows XP and later… it’s closer to “grep” than the original “find” and the built in ability to search subdirectories is a real gift.

Andrew.

Sunday, February 25, 2007 7:07 PM by Andrew from Vancouver

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Tip #8 “Use batch parameter expansion to avoid parsing file or directory info” was just what I was looking for!

So what if the syntax is “insane”? (No more so, than, say, printf formatting syntax in C.)

Anyway it’s easy to copy/paste what I want from your page, or, as you taught me, from CALL HELP at DOS command prompt.

I think it should be tip #1 again …

Wednesday, April 18, 2007 4:11 PM by Tom Harris

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Oops. I meant

Tip #9 “Use batch parameter expansion to avoid parsing file or directory info” was just what I was looking for!

Thursday, April 19, 2007 7:26 AM by Tom Harris

# Rhonda Tipton&#8217;s WebLog Web Links 11.21.2006 &laquo;

Pingback from  Rhonda Tipton&#8217;s WebLog Web Links 11.21.2006 &laquo;

Wednesday, May 16, 2007 11:18 PM by Rhonda Tipton’s WebLog Web Links 11.21.2006 «

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

how do i put a automatic yes in (Y/N)option

Wednesday, January 16, 2008 3:38 PM by filipo111

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

@filipo111

echo N | del .

Thursday, January 24, 2008 8:10 AM by Alexander

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Great tips!

How do I use xcopy to search for and copy say, word files, scatterded over a drive.  Also if none present then move on to next command.  Right now I have:

X:\XCOPY.exe C:\*.doc “X:\Word Files” /s/e/v/i/y/h

This command string copies the file directory structure which takes forever and something I do not want.  Just looking to pin point files (ie word or microsoft money – *.mny) and copy them.

Thanks,  Matt

mstanchi@yahoo.com

Friday, February 22, 2008 9:04 PM by Matt

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Have SQL script and DOS batch script in same file:

www.dostips.com/DtCodeInterfacing.php

Monday, March 17, 2008 12:57 AM by dosrocks

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Pause for x number of seconds:

ping -n x localhost

Wednesday, April 09, 2008 2:05 PM by Todd Carey

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi,

I’m trying to automatically run a .reg file through a batch file, but need to find out how the “Yes/No” and “OK” pop ups can be avoided and automatically accepted so the user doesn’t have to click on Yes and OK everytime.

example of my batchfile; let’s say the .bat file is located on the X-drive:

x:

Permission_Required_0.reg

Thanks in advance, if anybody is able to help me out!

Dom

Wednesday, April 16, 2008 4:01 AM by Dom Peeters

# Resell Rights

Go to Port Sarim, west of Draynor village, and ask one of the people in the blue uniforms to go to Karamja and pay them 30 runescape gp. When you get there, walk off the dock and you should see a house. Enter the house and talk to a man named Luthas.

Wednesday, May 14, 2008 9:20 AM by Resell Rights

# business income opportunity xango

I have one and it is” COMPLETE RUBBISH” ok not complete it looks good. Other than that almost every other phone I have had in the last 3 years and I have had 3, last being the blackberry perl, has done a better job than the iphone. you cant even sync

Thursday, June 26, 2008 7:35 PM by business income opportunity xango

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

hey to make an alarm with a batch file juss put:

set /a test=60

ech %test%

set /a test=%test%-1

echop %test%

repeat this several time and keep a sstop watch handy.

james

Wednesday, July 09, 2008 6:46 PM by jimmy

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Dom,

To get a Reg file put in without the Popup

try this

regedit /s file.reg

>Hi,

>

>I’m trying to automatically run a .reg >file .through a batch file, but need to find >out how the “Yes/No” and “OK” pop ups can be >avoided and automatically accepted so the >user doesn’t have to click on Yes and OK >everytime.

>

>example of my batchfile; let’s say the .bat >file is located on the X-drive:

>

>x:

>

>Permission_Required_0.reg

>Thanks in advance, if anybody is able to help >me out!

>

>Dom

Wednesday, August 20, 2008 3:28 PM by Jim

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

How do i output any errors to a txt file so i can see which ftp’s failed?

Friday, August 29, 2008 6:19 AM by Rudi

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Do yourself a favor; install Cygwin and write PERL scripts.  INFINITELY more powerful than DOS batch, and considerably easier to write and read too.  It’s free and there is a large body of knowledge to draw upon for writing more aggressive scripts, including numerous well-written books (Programming with PERL, PERL Cookbook, etc.).

For anything more than chaining a few commands together, PERL blows away DOS batch.  This is one of the reasons why DOS batch is a dying “art”.  Another reason is that DOS batch was obsolete the day it was released, as Unix shell scripting languages vastly superior to DOS batch existed before DOS was born.  But that’s a different story…

Friday, August 29, 2008 2:34 PM by Lynwood Hines

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Is there a way to get the Current file name in the batch file?

I am running a batch file: testing123.bat

Is there a way to get “testing123.bat” in a variable?

I use %date% and %time% but have not found a way to pick up the currently running file name.

Thanks

Frank

Tuesday, September 02, 2008 6:20 PM by Frank

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

@Frank, try using %0.

Tuesday, September 23, 2008 7:21 PM by Frode

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Any ideas how I could extract a string from a %

1 parameter, eg: reading “123” or “45” from “12345”?

Thanks,

Jamie

Tuesday, October 07, 2008 9:13 AM by Jamie

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

@Jamie

try

set test=12345

echo %test:~0,3%

echo %test:~3,2%

Tuesday, October 14, 2008 3:22 AM by Pablo

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hey guys, total bat noob here.  I’ve got a dilemma that seems straightforward to me, but bumbling through it has been anything but.  I have a drive  mapped to a remote server (Z drive) and a duplicate drive on my local (called “S”).  Right now, like a chump, I’m busy manually copying back and forth files that get updated (since the soft I’m working with needs these objects in their proper dirs).  What sort of commands would I use where I could select 1 or more files that have been newly created on the mapped “Z” and right click and tell it to copy local to my mirrored directory (and automatically building the folder tree if it doesn’t exist)?  I think I’ve found out how to add things to the windows right click context menu, but I can’t figure out how to pass the name and directory of selected files to a cmd prompt!  Great tips BTW, and thanks in advance anyone for help!  (Oh, and the files are 100mb+ and scattered among 100’s of dir’s, so syncing programs aren’t too useful to me.  I get an update that a certain file is changed by the client and I hand copy individually.  Only way to do it while keeping bandwidth overhead to a minimum.)

Monday, October 20, 2008 3:27 AM by Joel Noob

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Noob – call robocopy from your batch file, it just works.

Wednesday, October 22, 2008 12:20 PM by Jim

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Regarding “9: Use batch parameter expansion…”

One other thing to note is that it can be combined into a “for” statement to do lots of magic:

for %I in (text.txt) do echo %I is %~zI bytes

for %I in (test.bat) do echo: %~$PATH:I

This one seems to only work for UPPERCASE, single-letter variable names, and only for those at the start of the alphabet.  Your mileage may vary.

Thursday, October 23, 2008 8:54 AM by Guido

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi Jon, In #3 “Read from the registry”, you mention a previous post in reference to “creative use of the FOR command”.  I looked through your archives, and can’t find the one you’re talking about.  Do you remember which it is?  thanks! Rob

Friday, November 21, 2008 8:26 AM by Rob Flum

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

www.message_monergetac.com

Monday, December 29, 2008 5:05 PM by nick_rolsit

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi, Joel Noob Try xcopy, I think it will do what you want. It even has an exclude list included :)

Friday, January 16, 2009 1:03 AM by A.Wombat

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi,

Is it possible to open a ‘browse for file’ window from a batch script, select a file and then inject the path/name of that choosen file back into the script ?

Tuesday, May 05, 2009 4:53 AM by Meetoo

# TOP 10 dicas sobre DOS – Cleydson Silva – PontoNetPT

Pingback from  TOP 10 dicas sobre DOS – Cleydson Silva – PontoNetPT

Sunday, June 28, 2009 8:28 PM by TOP 10 dicas sobre DOS – Cleydson Silva – PontoNetPT

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Is there any way to delete all files and sub-folders (may with files too) of a given folder?

Monday, August 17, 2009 4:46 AM by Aaron

# SCCM Java package and DOS fun &laquo; Movement3&#039;s Blog

Pingback from  SCCM Java package and DOS fun &laquo; Movement3&#039;s Blog

Monday, August 17, 2009 11:35 PM by SCCM Java package and DOS fun « Movement3’s Blog

# How to get paths from file path with CMD &laquo; Jawor92&#039;s Blog

Pingback from  How to get paths from file path with CMD &laquo; Jawor92&#039;s Blog

Tuesday, November 24, 2009 5:06 PM by How to get paths from file path with CMD « Jawor92’s Blog

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

how do I remove the quotes from a passed parameter?

eg:-

batchfile has the line –> echo %1 moon

call it with batchfile.bat “over the ”

and the result is:-

“over the “moon

One needs the quotes to get the variable but then the variable includes the quotes!

Thursday, January 21, 2010 3:48 AM by david

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

oops… found it:-

%~1 – expands %1 removing any surrounding quotes (“)

echo %~1 moon

Works fine.

Thanks for making this info available.

Monday, January 25, 2010 7:35 AM by david

# Admin Helper &laquo; Klaus&#039; Blog

Pingback from  Admin Helper &laquo; Klaus&#039; Blog

Wednesday, February 24, 2010 7:37 AM by Admin Helper « Klaus’ Blog

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Nice blog. Very healthy discussion.

To upload using FTP an entire folder full of files and subfolders, try this script.

www.biterscripting.com/…/SS_FTPUpload.html

It even creates subfolders as necessary. Will mirror the entire local folder to the FTP server.

Tuesday, March 09, 2010 4:46 PM by Sen2008

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hello

set PATH_VER=c:\folder1\folder2\folder3\file.bat

In “file.bat”, I whould like to obtain the string “c:\folder1”

I mean how to get up two level from the location of the file.bat ?

I used %~dp0 , %~dp1 (twice)  but I didn’t succeed to do it properly

Any Idea?

Thank you

Tuesday, March 30, 2010 11:51 AM by Hendawi

# Odyssey Service Honda Parts, 06 Honda Odyssey Problems

Pingback from  Odyssey Service Honda Parts, 06 Honda Odyssey Problems

Thursday, May 20, 2010 9:36 PM by Odyssey Service Honda Parts, 06 Honda Odyssey Problems

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

I have a little problem that I cannot solve. I have a part solution but need a little help to finish it off!

My first (successful) step was to create a batch file that reads a plain text file (directory.txt) that contains the name of a new directory that I want creating, then the batch file creates it.

e.g. in the “directory.txt” file …

My New Directory Name

(no quotes in the file)

Batch file:

FOR /f “tokens=*” %%n IN (directory.txt) DO MKDIR “%%n”

The reason for doing this is that the directory name can contain spaces, and enclosing the string in quotes does not work for MKDIR in a batch file. It works at a prompt, but not batch.

Now what I want to achieve is to pass the full directory name to the batch file as an argument %1, but I cannot figure out how to replace the “IN (directory.txt)” with an appropriate entry using the %1.  How do I do that?

Thanks.

Saturday, June 05, 2010 4:30 PM by Mr Incredible

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Any ideas how I could extract a string from a %1 parameter, eg: reading “123” or “45” from “12345”?

Again, from a parameter, not from a variable!!

Thanks in advance

Wednesday, June 16, 2010 12:00 AM by Fuintis

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi again:

Any ideas how i could trim some string from a parameter (like %1)

I need the following behaviour using “%1” instead of “%variable%”:

set dummy=-test

echo.%dummy:-=%

The prompt output is:

test (without the “-“)

THX!!

Wednesday, June 16, 2010 12:41 AM by Fuintis

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

echo N | del   is not working

Monday, June 21, 2010 11:50 AM by sajith

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Hi, the URL of Rob van der Woude’s Scripting Pages change. Now all of them are PHP pages.

www.robvanderwoude.com/batchfiles.php

This is the new one, if you want to update it.

Friday, July 09, 2010 8:04 AM by Adin

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

It was rather interesting for me to read that blog. Thanks for it. I like such topics and anything that is connected to this matter. I definitely want to read more soon. BTW, rather good design that site has, but don’t you think it should be changed every few months?

David Smith

<a href=”http://www.baccaratgirls.com”>exclusive escorts</a>

Tuesday, August 03, 2010 7:47 PM by David Smith

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Interesting post as for me. It would be great to read something more about this matter. The only thing this blog needs is some pics of some gizmos.

Alex Karver

<a href=”www.jammer-store.com/”>cell phone jamer</a>

Friday, August 06, 2010 5:34 AM by BlogSearcher

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

How do I display empty line from batch file?

Tuesday, August 31, 2010 10:28 PM by Raj

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

Keep on posting such themes. I love to read stories like that. BTW add more pics :)

Friday, September 03, 2010 3:08 PM by winterthur escort

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

to all those asking how to apply the text replacement or extraction to a parameter: just assign it to a variable and then use the instructions as abive

  set param1=%1

echo.%dummy:-=%

Thursday, November 11, 2010 2:46 PM by Mars the Infomage

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

One thing I know,that is I know nothing.

———————————–

Sunday, December 19, 2010 10:03 AM by top ipad accessories

# re: Top 10 DOS Batch tips (Yes, DOS Batch…)

———————————————————–

Can I just say what a relief to find someone who actually is aware of what theyre speaking about within the net. You certainly know how you can provide an concern to light  and make it essential. More men and women need to learn this and recognize this aspect of the story. I cant consider youre not a lot more common mainly because you undoubtedly  have the present.

Jul 302010
 

Click Here Google Maps Link to Brightstar Ranch

Brightstar.Ranch.Driving.Directions Adobe PDF document

MGRS  =  LAT / LONG
13 S DD 81566 85386 = 39.6180326 -105.2147648
13 S DD 69122 71003 = 39.4880787 -105.3590724
13 S DD 59918 64413 = 39.4283207 -105.4657045
13 S DD 41836 68205 = 39.4614560 -105.6761143
13 S DD 35005 61843 = 39.4036463 -105.7548947
13 S DD 14685 27650 = 39.0938095 -105.9865494
13 S DC 03115 96257 = 38.8097589 -106.1158737
13 S DC 05194 83362 = 38.6937998 -106.0901641
13 S DC 05679 77840 = 38.6482639 -106.0979543

Question: I recently saved some gps coordinates on a trip.  The coordinates are
in degrees/minutes format (ex.  32 degrees 30.134’N, 084 degrees
56.339W).  How can I use this data to find my location on Google maps?
I’ve tried searching using this data, but the map takes me to the wrong
location.

ANSWER: Convert your coordinates to decimal degrees
(32.502233, -84.938983), and enter them into the google map search bar
like this “32.502233 -84.938983” then you will get your map.

Conversion Website: http://www.earthpoint.us/Convert.aspx