Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default Run DOS command

I have a command in one cell in an excel document that I need to run from
DOS. I need help figuring out how to do this?

R:\TL\Apps\Apps\shortcut.exe /F:R:\TL\Data\ImageLinks\1125893.lnk /A:C
/T:"https://imagesilo.com/SearchURL.ASP?UserName=URL-LOGINPassword=TL01&EntID=xxxx&ProjID=9&IndexFields =Owner Entity|Property|Property Name|Lease

Any help would be greatly appreciated. Thanks

KK
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Run DOS command

You simply need to put the command into a shell function

shell("command String")

The only problem you may have is with the double quote. You can use chr(34)
for the double quote.

String1 = "Abc"
String2 = "Def"

String3 = String1 & chr(34) & String2



"KalliKay" wrote:

I have a command in one cell in an excel document that I need to run from
DOS. I need help figuring out how to do this?

R:\TL\Apps\Apps\shortcut.exe /F:R:\TL\Data\ImageLinks\1125893.lnk /A:C
/T:"https://imagesilo.com/SearchURL.ASP?UserName=URL-LOGINPassword=TL01&EntID=xxxx&ProjID=9&IndexFields =Owner Entity|Property|Property Name|Lease

Any help would be greatly appreciated. Thanks

KK

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
command code ( GOTO command) in formula calan New Users to Excel 1 June 11th 09 09:44 AM
Userform Command Button not available until another command buttonhas been used [email protected] Excel Programming 4 September 4th 08 04:35 PM
Pivot Table Error Message - "Command Text not set for command obje Jeff Divian Excel Discussion (Misc queries) 0 November 7th 07 10:26 PM
Wanting to Create A Command Button Command bumper338 Excel Programming 3 May 7th 07 06:53 PM
Excel to load COMMAND and type a Run Command? [email protected] Excel Programming 5 August 22nd 06 10:47 PM


All times are GMT +1. The time now is 04:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"