October 31, 2025, 05:17:31 AM

News:

IWBasic runs in Windows 11!


invalid path

Started by TexasPete, December 21, 2010, 05:47:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TexasPete

December 21, 2010, 05:47:37 AM Last Edit: December 21, 2010, 06:05:10 AM by TexasPete
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

Andy


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.

Day after day, day after day, we struck nor breath nor motion, as idle as a painted ship upon a painted ocean.

TexasPete

Thanks Andy,

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

Thanks
Texas pete