Recent content by Bug locker


  1. Solved Trying to fix default folder icon with batch file and desktop.ini

    Finally it worked. Protected system folders and folders that already have them own icon folder are excluded. Also so The code is: cls cd\ @echo off for /f "tokens=*" %%a in ('dir c: /ad /b /s') do ( echo "%%a" @if not exist "%%a\desktop.ini" ( copy "C:\desktop.ini" "%%a" attrib +s +h...
  2. Solved Trying to fix default folder icon with batch file and desktop.ini

    So it works , but it has one bug. When the name of the folder contains space ( ) , it cant read the name and gives the error : Also i cant underrstand why it shows that path (C:\users\thana\Desktop). I tried to put "" at %%a , but not works. Current code : @echo off for /f "tokens=*" %%a in...
  3. Solved Trying to fix default folder icon with batch file and desktop.ini

    So the problem was the attributes. I put at root a desktop.ini with cleared attributes. At command prompt the copy works. The current code , not works , only a flashing window : @echo off for /f "tokens=*" %%a in ('dir %USERPROFILE%\Desktop /ad /b /s') do ( echo "%%a" @if not exist...
  4. Solved Trying to fix default folder icon with batch file and desktop.ini

    Another error: Current code : @echo off for /f "tokens=*" %%a in ('dir %USERPROFILE%\Desktop /ad /b /s') do ( echo "%%a" @if not exist "%%a\desktop.ini" copy "C:\Users\thana\Desktop\Recent_pcts\desktop.ini" "%%a" pause ) Note : the C:\Users\thana\Desktop\Recent_pcts\desktop.ini has the...
  5. Solved Trying to fix default folder icon with batch file and desktop.ini

    I run that , and nothing happens except a flashing window for 1 sec : @echo off for /f "tokens=*" %%a in ('dir %USERPROFILE%\Desktop /ad /b /s') do ( echo "%%a" @if not exist "%%a\desktop.ini" copy C:\desktopinitest.txt "%%a" pause ) :rolleyes:
  6. Solved Trying to fix default folder icon with batch file and desktop.ini

    So the current code is : REM @echo off title fix default folder icon cd\ for /f "tokens=*" %%a in ('dir C:\users\thana\desktop /ad /b /s') do @if not exist "%%a\desktop.ini" copy C:\desktopinitest.txt "%%a" pause But still it gives 2 errors :
  7. Solved Trying to fix default folder icon with batch file and desktop.ini

    Yep you are right. I already taking errors "incorrect syntax" for that reason. Thanks. (y) ❤️
  8. Solved Trying to fix default folder icon with batch file and desktop.ini

    It looks you have right. I run this and it takes 1 sec. REM @echo off title fix default folder icon cd\ for /f "tokens=*" %%a in ('dir C:\users\thana\desktop /ad /b /s') do @if not exist "%%a\desktop.ini" echo %%a pause With that export : So i go to destination issue. for /f "tokens=*" %%a in...
  9. Solved Trying to fix default folder icon with batch file and desktop.ini

    Nope. It looks like its stopped : Think that i already i have folders at root (C:) without desktop.ini in. So it will shows the echo.
  10. Solved Trying to fix default folder icon with batch file and desktop.ini

    I run this batch : cd\ for /f "tokens=*" %%a in ('dir C:\ /ad /b /s') do @if not exist "%%a\desktop.ini" echo %%a pause But its show only that :
  11. Solved Trying to fix default folder icon with batch file and desktop.ini

    Hey. I use this tweak in order to change the default order icon. It not works 100% OK. Depending on the selected view it appears wrong. E.g : I noticed though, that when a folder contains a desktop.ini then all folders display correctly in all views. So , i think to solve that problem (i...
  12. Solved By default at Windows 11 . the context menu of .inf files contain "install" option ?

    Nice. At HKEY_CLASSES_ROOT\SystemFileAssociations , i dont have .inf key. Instead i have the context menu of .inf files at notepad's key , at : So , i put your default command at Install\command\default and it works fine. The key point for the users are playing with the file types and context...
  13. Solved By default at Windows 11 . the context menu of .inf files contain "install" option ?

    I mean i have a .reg file to add "install" at the context menu of .inf files. Anyway , i reset it to default via settings and now it has the "install" option (default is the Notepad app). The menu now is : But when i select install at an .inf i take an error "This file hasnt a related...
  14. Solved By default at Windows 11 . the context menu of .inf files contain "install" option ?

    Hey. I want to add the "install" option at the context menu of .inf files. I have an older .reg file (i guess for Win 10) but it not works. The first question is if it exist by default at Win 11. Thanks.
  15. Solved Two updates keep installing, no fix (?)

    Great new. Sorry but I got confused. What did you do and it was solved?
Back
Top Bottom