WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: irak@aol.com on February 15, 2018, 08:28:01 AM

Title: IniItemizePvt doesn't seem to work on a network Drive
Post by: irak@aol.com on February 15, 2018, 08:28:01 AM
My 2015 complied code has stopped working properly on a Windows 7 machine. I have narrowed it down to IniItemizePvt not being able to read an ini file located on a network drive. I was able to open the same file and read it without incident. The result of the call is "[NONE]".

Does anybody have any thoughts that could help me resolve the problem? Do I need some option set to use this now?
Title: Re: IniItemizePvt doesn't seem to work on a network Drive
Post by: td on February 15, 2018, 10:13:04 AM
Your description of the problem leaves out a few key elements so this is the best guess as to the causes.  Please read the article at the link below and see if provides a solution for you.

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/UAC+Mapped~Drives~Issue~with~UAC.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/UAC+Mapped~Drives~Issue~with~UAC.txt)
Title: Re: IniItemizePvt doesn't seem to work on a network Drive
Post by: irak@aol.com on February 15, 2018, 02:29:28 PM
I don't think I quite understand the UAC. I did come up with a workaround by copying the ini file to a local disk, it is fully operational using IniItemizePvt.