Hi Rick, If you want to just use the path environment variable, it is %path%. If you want to add something after it, you would just put a semicolon, then the folders you want to use. What are you trying to do? Thanks. Jim From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of RicksPlace Sent: Tuesday, March 15, 2011 10:51 AM To: programmingblind@xxxxxxxxxxxxx Subject: CommandLine Path Hi: In Windows XP I am trying to execute sn.exe which is in a long file path with spaces. I tried typing cd and then pasting the path enclosed in quotes into the command window but the paste does not seem to be working - nothing is being pasted. Is there some way to navigate around the command structure without having to type everything all the time? I am thinking of copy and paste, a batch file or a script or anything that I can use over and over without typing my fingers to the bone. I don't know whether to try building a batch file or script or whatever to just execute this program and others. If you have one, a sample would help allot so I can research the technicals you used. Rick USA ________________________________ This e-mail and any attachments to it are confidential and are intended solely for use of the individual or entity to whom they are addressed. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this e-mail without the author's prior permission. The views expressed in this e-mail message do not necessarily represent the views of Highmark Inc., its subsidiaries, or affiliates.