Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
mememe12 din Bucuresti
Femeie
23 ani
Bucuresti
cauta Barbat
23 - 80 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [WINDOWS] Windows 11 Opens Folder Shortcuts in Shortcut Location Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
Since the "At startup, open folders left open when shutting down" feature in Windows 11 doesn't seem to work, no matter the fix I tried, I had to find a workaround.

The workaround was to add shortcuts to those folders in the shell:startup folder.

But when opening Windows, even though the folders were open, the problem was they were open in the location of the shortcut file, so in %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup instead of being open in their target location.

As an example, shortcuts to a "D:\MyFolder" folder is open in:

%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\MyFolder

instead of:

D:\MyFolder

If you create a shortcut normally, it works fine. But this way, it works badly. The entire purpose of opening the folder at startup is to not only have access to its contents, but also to it's location.

Workaround on this is to create a bat file with similar contents to the following, and adding a shortcut to the bat file in the shell:startup folder:


%SystemRoot%\explorer.exe "D:\MyFolder"

Rem Sth %SystemRoot%\explorer.exe ""

Rem Sth %SystemRoot%\explorer.exe ""

Rem Sth %SystemRoot%\explorer.exe ""

Rem Sth %SystemRoot%\explorer.exe ""

The Rem Sth lines are comments, remove that part and add multiple folders at startup.

Now the MyFolder folder opens where it should, in D:\MyFolder instead of %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\MyFolder.


pus acum 1 an
   
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
To open a site in Firefox for example from BAT file, making some sort of session manager:


"C:\Program Files\Mozilla Firefox\firefox.exe" "https://www.google.com"


pus acum 1 an
   
Pagini: 1  

Mergi la