Increase length of command line input ?

  • Thread starter Thread starter hack_tick
  • Start date Start date
H

hack_tick

hi there
I need to pass a huge argument to the command line(cmd) it giving me input
too long, any suggestions what else can i do ?
 
The command-line length must be less than 256 characters.
It is possible to use more than 256 characters by calling the "wide
version of CreateFile" by prefixing "\\?\" to the path. The "\\?\"
tells the function to turn off path parsing. This enables you to use paths that
are 32,000 characters long. You must use fully-qualified paths with this
technique. The "\\?\" is ignored as part of the path. I.E.,

"\\?\C:\My Documents\test.doc" is processed as "C:\My Documents\test.doc".

Note that under Windows XP this is done automatically when setting
Environment variables like PATH using the Control Panel System Icon (Advanced
Tab then Environmant Variables button).

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Microsoft Newsgroups

Be Smart! Protect Your PC!
http://www.microsoft.com/athome/security/protect/default.mspx

------------------------------------------------------------------------------

"hack_tick" wrote:

| hi there
| I need to pass a huge argument to the command line(cmd) it giving me input
| too long, any suggestions what else can i do ?
 
hi
[...]
Note that under Windows XP this is done automatically when setting
Environment variables like PATH using the Control Panel System Icon
(Advanced
Tab then Environmant Variables button).

thank you for the Great Answer, I was looking for some thing from the Point
of View of the Naive User perhaps some system settings ? that he has to do
?? so that hes able to putin many character

best regards :-)
 
Back
Top