New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] - PATH variable is overwritten #1076
Comments
btw cmd commands don't use However dism should work as normal, so check your PATH (if cmd is crashing, it's probably because of these command not found errors, you may also want to try changing your default terminal emaulator to Windows Terminal as is the win11 default) |
yeah i was wrong at that point, but what ever it is, the 'sfc' still can not be recognized. i tried everthing i could but nothing get better, maybe i need to reinstall my windows again and wait for new atlas version... |
You may not have reinstalled correctly, what were your steps? |
just like everyone else: install ventoy on an usb stick, boot up an official iso and start to install windows normally. i had run those commands normally before installed Atlas so i pretty sure that Atlas causes this bug. |
That's not the steps, and if you're gonna use a USB, wipe your disk to ensure the install is clean (you don't even need to use a USB) |
That's the MAIN STEPS I did, I just want you to understand that I know how to install Windows correctly, and the bug only appears after installing AtlasOS. |
During USB install if you just clicked your C: drive you didn't fully wipe windows, so reinstall again, and wipe your drive (erase all partitions) |
Nahh I didnt do that bro, i deleted every windows partitions and used |
are you sure you didn't delete anything from PATH? i have tried 0.4 and sfc, dism all work fine |
yes, i ran some .cmd files and those command before installing AtlasOS so
that's so weird, i tried 0.4 on 2 different editons of windows (both are clean installation) and still got that bug... |
Can you please send the |
Unfortunately, I have just reinstalled Windows and no longer have that file 😔. I will try installing AtlasOS in a VM to see if the bug appears again; then I will send you the file. If it doesn't, I will close this report. Thanks for your reply. (Btw, I really love your EdgeRemover script, it helps me a lot 🙌). |
|
|
Atlas doesn't replace the PATH variable, it just appends to it. https://github.com/Atlas-OS/Atlas/blob/main/src/playbook/Configuration/atlas/start.yml#L9 I'm not too sure what could be wrong or how to reproduce your issue. |
Description
After install the new version of AtlasOS, i cant run .cmd files: the cmd window shows up and then close immediently. I tried to open CMD but some common commands does not work (image below)
Steps to reproduce
Double click to open a .cmd file or run some commands in cmd.
Watch it doesnt work like you expected.
Expected behavior
It supposes to run normally.
Actual behavior
Atlas Edition
Atlas for Windows 11 23H2
Desktop information
Operating System: Windows 11 Pro
System Manufacturer: Acer
System Model: Aspire A715-43G
Processor: AMD Ryzen 5 5625U with Radeon Graphics (12 CPUs), ~2.3GHz
Memory: 24576MB RAM
Card name: NVIDIA GeForce RTX 3050 Laptop GPU
Additional content
[Update] Simply fixed it by looking up missing paths in this link and adding them back, those commands now work normally again.
The text was updated successfully, but these errors were encountered: