IfDirexists and UNC paths under Win7

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
migro
Macro Veteran
Posts: 151
Joined: Thu Nov 06, 2003 5:23 pm
Location: Germany
Contact:

IfDirexists and UNC paths under Win7

Post by migro » Wed Dec 28, 2011 2:22 am

I got a strange behavior with IfDirExists and UNC paths under Win7. Although the path does not exist, this is not recognized by IfDirExists.

Code: Select all

IfDirExists>\\localhost\PDATA\
#IfFileExists>\\localhost\PDATA\XAB.ini
MessageModal>OK
ELSE
MessageModal>NoGood
ENDIF
With "IfFileExists" an unexisting unc path is recognized.
Under Windows XP also IfDirExists works as expected.

Can anyone confirm this?
regards
migro

User avatar
migro
Macro Veteran
Posts: 151
Joined: Thu Nov 06, 2003 5:23 pm
Location: Germany
Contact:

Post by migro » Sun Jan 01, 2012 10:45 pm

Hi Marcus,

can You confirm this or do You got any suggestions?
regards
migro

User avatar
migro
Macro Veteran
Posts: 151
Joined: Thu Nov 06, 2003 5:23 pm
Location: Germany
Contact:

Post by migro » Thu Jan 26, 2012 4:39 am

Maybe Marcus missed this post.
Can anyone else confirm this behavior?
regards
migro

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts