how to open folder in GUI in windows command? [duplicate] - windows

This question already has answers here:
How do I open an Explorer window in a given directory from cmd.exe?
(5 answers)
Closed 6 months ago.
I know that I can open a GUI(Graphical User Interface) folder in MacOS with the command "open .",
but how can I do this in windows?
Thank you!

Okay, I got it!
The answer is to write "start xxx"
PS. xxx is the name of the folder.

Related

How do I start a .scr file from CMD? [duplicate]

This question already has answers here:
How to turn screensaver on (windows 7) by a code (in cmd)? [closed]
(5 answers)
Closed 1 year ago.
I want to start "Bubbles.scr" from CMD which is located in C:\Windows\System32\
But it tells me it has no options that I can set.
How do I launch it?
Use
bubbles.scr /s
It can also be called directly from powershell without any options

How do I make it so that double-clicking a ps1 file opens powershell? [duplicate]

This question already has answers here:
Is there a way to make a PowerShell script work by double clicking a .ps1 file?
(22 answers)
Closed 2 years ago.
I want to be able to double click a powershell script and it to open in powershell instead of notepad. Can I do that?
To run powershell scripts from the file you right-click the script then click run with powershell, can I make it so that double-clicking the script defaults to opening the script in powershell?
Use
ftype Microsoft.PowerShellScript.1="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" "%1"
In administrator cmd. Ftype changes double-click behavior of certain filetypes specified by the assoc cmd command.

Make a program admin-only in Windows 10 [duplicate]

This question already has answers here:
Batch script: how to check for admin rights
(26 answers)
Closed 6 years ago.
I had a question about Windows 10 - is it possible to make cmd.exe, as well as running any .bat, .cmd files admin-only?
Optimally I would like to do this without any additional software.
Yes it is possible to restrict.bat .cmd and cmd.exe. Here are a couple links on how to do so...
How to disable the Windows Command Prompt & .cmd Via Group Policy
Microsoft Forum On Securing Batch Files

OSX messed up PATH [duplicate]

This question already has answers here:
restore PATH under Mac OS X [duplicate]
(2 answers)
Closed 7 years ago.
I was trying to make Sublime editor work from Terminal following this guide and by doing so I modified the .bash_profile file and apparently my PATH. While I was doing this I was positioned in some random folder in Terminal, it was /Users/apple/Desktop/RailsCode/readit/ and now if I want to run command open ~./bash_profile it says: The file /Users/apple/Desktop/RailsCode/readit/~./bash_profile does not exist. And it worked before, it seems to me I messed up my default PATH. How to resolve this?
Your command is not quite right:
open ~./bash_profile
^
should be:
open ~/.bash_profile
^

Where is the extensions file for Chrome in OS X 10.7.5? [duplicate]

This question already has answers here:
How to locate Google Chrome extension dir
(2 answers)
Closed 10 years ago.
Everybody seems to find it in this address "~/Library/Application Support/Google/Chrome/Default/Extensions", however, for some reason I don't even have a "Google" folder in "Application Support". Anybody know of any other place where it might be or how to find it?
This is all part of my attempt to fix the problem Chrome 22 has with OS X that the extensions are not being loaded. More specifically, the GWT Developer plug-in.
Run find /Users/username/ -type d -name Google 2> /dev/null on Terminal application.
Take a look at https://stackoverflow.com/a/12872962/944634

Resources