Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,873 of 42,547    |
|    Harry Potter to Todd Vargo    |
|    Re: Win32 batch file: long paths passed     |
|    27 Dec 13 05:43:49    |
      From: rose.joseph12@yahoo.com              On Thursday, December 26, 2013 8:42:37 PM UTC-5, Todd Vargo wrote:       > It would seem several options have presented themselves before us.       >        > Either we can, (a) play a game of 20 questions to ascertain all relevant        > details to the problem, (b) target sources of ambiguity and revert back        > to (a), (c) type up some batch code based on a wild guess which may        > drive the discussion down a deep rabbit hole with everyone chasing the        > wrong goal, or (d) ignore thread until something tangible develops. I'll        > take a chance on option (c) this time.       >        > Taking a guess, OS must be Win9x/Me. IIRC, Win9x does not pass a LFN        > when a file is dropped on a batch file which is basically the same thing        > as using the right click menu to pass a file to a batch or program.       >        I'm using Win98SE. I tried executing UPX directly through the right-click       menu, but the window closed immediately after completion. I wanted to see the       results first. That's why I'm having this problem. If I can't get a LFN from       a batch file, I'm        wondering if it's possible to pause after a single console app ends. That's       basically what I need--for now.              > It has been a while since I've used a Win98 machine. Try the following        > test batch and let us know your results. Easiest way is to just drop a        > file on it with an LFN then post the output.       >        I should be able to get the listed code snippet at the library today.              > @echo off       > echo %%1=%1       > lfnfor on       > for %%? in (%1) do set LFN=%%?       > echo %%LFN%%=%LFN%       >               --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca