Jump to content

2TMax

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Interests
    OpenVMS, Linux, uElectronic's (Atmel RISC processors), Automation within OS's 2 ease-up repettive tasks.

2TMax's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Why not use the exaple "Demonstrates StdoutRead()". It'll create a command console, executes a command, waits till it's ended. meanwhile it captures text sended to console. no needless looping, keeps track of processing and gives you the oppurtunity to act on failures/successes. Abit less complex is: check for the return value. '0' = Oke '1' to '4' = trouble
  2. You could even check if spybot e.g. is activated. If so, you could wait for a pop-up and send an accept key. Use "AutoIt Window Info" to record the required actions. don't forget to add a time-out period.
  3. Thanks MHz! This is it! I've done some testing myself and indeed, the pathlength can be extended to another 255 char. I could even create a junction over different drives, aslong it's on a local device. Eh.. still one obstacle to take The Junctions trick didn't work on UNC's... Guess I'll need an RPC to the host to do make a junction. Is there a native AutoIT function to achieve this? the long path [/code] D:\Max\begin\of a\verry\long ----\---- path\name\which contain\strange\nill\characters\like $ %\Yes Percentage % sign\and & ampersand\witch some like ! exclamation\and some extra\are often\nasty path names to process\if these are folder by folde [u][b]Junction named tier joined @ nill[/b][/u]D:Maxbeginof averrylong -------- pathnamewhich containstrangenill[u][b]rest of long path[/b][/u]C:Maxtiercharacterslike $ %Yes Percentage % signand & ampersandwitch some like ! exclamationand some extraare oftennasty path names to processif these are folder by foldesome default foldernamingNew Folder 2New Folder 3
  4. This sounds real cool! @ work we use a lot Java app's. Most multi desks got confused or messed up the applets. I'll hope this one can help me out! Greetingzzz
  5. Thanks kip, now I remember. Still keep forgetting if it's which or witch. I've done some testing with the FileCreateNTFSLink Unfortunately still no solution. @ FlexHEX I found following explanation: Flex HEX Because all the links must refer to the same MFT entry, you cannot create a hard link on a different drive. Another limitation is that only files can be hard-linked, not directories (however soft links to directories are allowed). Although the manual says: FileCreateNTFSLink "Creates an NTFS hardlink to a file or a directory" I'm not sure if it makes a softlink in case a folder is given. Perhaps I would need a function like: FolderCreateNTFSLink that could make a softlink. Well, I keep trying. At the AutoIT man. I followed the NTFSLink I might be able to manage the link with the explorer. All 2 T best!
  6. Thanks MHz! This might do the trick! I've never worked with links before in NT and wonder if it'll be the same as in OpenVMS or UNIX. I'm going to try it right away
  7. Thanks for youre interest Unfortunately I doesn't matter using absolute or relative paths. It's the total pathlength that counts including driveletter and separators... Guess it is part of the used dll A SUBST /D works most of the time but at random times it doesn't. by the way, the subst can't handle UNC paths so I have to combine it with an PUSHD command.
  8. Hi all, I'm in need of a solution coping data, recursively, which pathlength exceeds the max char. length of 260. According to MS Technet all copy commands depend on the same .dll in which just 2Mb is reserved causing the name length limitations. Yes I'm sure the limitation is not in the file system. Yes, there are util's like mcopy, xxcopy, robocopy and many more. but none of them are able to copy files beyond (thanks kip) How come NTBACKUP has no problem and why do other backup utils often get struck by long path names. My current workaround is: use subst But in case of error, say a flaw in Windows , the system believes the subst drive is a native drive and can't be de-subst unless one reboots the system...
×
×
  • Create New...