MSFN Forum: [CMD.EXE] Disable Redirection - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[CMD.EXE] Disable Redirection Rate Topic: -----

#1 User is offline   egrath 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 24-May 05

Posted 06 June 2005 - 04:34 AM

Hi,

is it possible to disable the command output redirection in the command-line shell?

I have the problem that i need to start the "iexplore.exe" with a URL as parameter which contains the ">" Character. Example:

iexplore.exe http://10.138.23.210/cgi-bin/unidoc.exe?ACTION=ACTION_QUERY_DB&QUERYSTRING=(1367)%20HPUX:%20'ksrsifs2.health.local'%20ERROR%20Message:%20May%2017%2008:23:57%20syslog:%20"Schema:%20PAG%20ew_ag_pascom_rufn_i_01%20Status:->%20keine%20Inbound%20Events%20im%20Beobachtungszeitraum%20E


When the above line is started from within the Start->Run everything works as expected, but when i open a command line shell the string is truncated after the ">" and a file is written. This is what i want to prevent.

Any ideas?

Thanks,


Egon


#2 User is offline   digitalfrost 

  • Junior
  • Pip
  • Group: Members
  • Posts: 68
  • Joined: 29-August 04

Posted 06 June 2005 - 10:43 AM

Try putting a ^ before the >. (See http://www.ss64.com/ntsyntax/esc.html )

#3 User is offline   egrath 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 24-May 05

Posted 08 June 2005 - 12:28 AM

Hi,

thanks digitalfrost, works perfect!

Bye, Egon

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy