IonicWind Software

IWBasic => General Questions => Topic started by: TexasPete on December 21, 2010, 05:47:37 AM

Title: invalid path
Post by: TexasPete on December 21, 2010, 05:47:37 AM
I am setting up iwbasic on my windows 7. I am trying to compile a program that I wrote and I keep getting and invalid path error. I have made sure the libraries I need are in the right place . Could this be a
windows 7 Adminstrative issure.  Never mind I figured it out . A simple Save to corrected it. Thanks
Texas Pete
Title: Re: invalid path
Post by: Andy on December 24, 2010, 02:09:03 AM

Hi,

Windows 7 needs a registry file patch so you can have full access to any folder, copy and paste this code and save it as a "tweaks.reg" file for example, the file must end with .reg NOT .txt.


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"AutoEndTasks"="1"
"HungAppTimeout"="1000"
"MenuShowDelay"="8"
"WaitToKillAppTimeout"="2000"
"LowLevelHooksTimeout"="1000"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoLowDiskSpaceChecks"=dword:00000001
"LinkResolveIgnoreLinkInfo"=dword:00000001
"NoResolveSearch"=dword:00000001
"NoResolveTrack"=dword:00000001
"NoInternetOpenWith"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
"WaitToKillServiceTimeout"="2000"

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer]

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"


Note: once you have saved it as a reg file double click on it, then it will ask you if you want to merge this with the registry
select "Yes".

When finished, browse to any folder and RIGHT CLICK, you will then have an option called "TAKE OWNERSHIP", point to any folder you cannot access and select "TAKE OWNERSHIP" and wait until the DOS screen finishes.

Hope this fixes your problem.

Regards,
Andy.

Title: Re: invalid path
Post by: TexasPete on December 24, 2010, 05:34:09 AM
Thanks Andy,

I knew something was wrong. I am surprised that this was not on the board.

Thanks
Texas pete