cmd Questions

8

Solved

I have a bat script that I'd like to make work on windows/Mac/linux, but I read .bat is only for windows. How can I make this script work on Mac and linux, or what type of script can I write that w...
Sturgeon asked 16/11, 2011 at 18:50

6

When I run conda init cmd.exe in either normal or admin mode I get the following error. WARNING: Cannot install xonsh wrapper without a python interpreter in prefix: C:\Users\JASONL~1\AppData\Loca...
Nodarse asked 17/6, 2020 at 16:58

3

Solved

I have a code that I am writing that can change the screen brightness according to user input, but this is based around the current screen brightness. Is there a way to obtain the screen brightness...
Mortality asked 15/5, 2019 at 12:43

2

How do I echo the "greater than" character in cmd? I would like to escape the "greater than" sign (>) because I need it to echo to another .bat file. Echo net session>nul ...
Fenrir asked 8/8, 2021 at 6:41

3

Solved

In linux terminal as I give ctrl+L signal, terminal screen clears. since I am new in windows programming and I found that cls command is used to clear screen. How can I make ctrl+L signal in case o...
Superfuse asked 28/9, 2014 at 12:25

7

Solved

I am using Runtime.getRuntime().exec() command to start a batch file which in turn starts another process for windows platform. javaw.exe(Process1) |___xyz.bat(Process2) |___javaw.exe(Process3) ...
Drainage asked 12/4, 2012 at 13:12

6

Solved

zip is not recognized as an internal or external command where can I find zip on my machine in order to run 'zip` cmd?
Phonotypy asked 5/12, 2012 at 15:40

21

I work with laravel 5 , when i type in windows cmd this command "touch storage\database.sqlite" this error message rise 'touch' is not recognized as an internal or external command, operable prog...
Orola asked 21/3, 2016 at 8:39

5

Solved

I have an english Windows 2003 server with asiatic language support activated. The two only fonts available for the command window (cmd settings) are raster and lucida console. Neither the one nor ...
Noose asked 23/9, 2010 at 16:14

4

I have got a problem with printing out a unicode symbol in the windows console. Here's the java code that prints out the unicode symbol value; System.out.print("\u22A2 "); The problem doesn't...
Cranach asked 4/12, 2013 at 21:27

5

Solved

I must warn you I don't use powershell much. I am trying to turn off windows defender real time protection via powershell I found the command Set-MpPreference -DisableRealtimeMonitoring $true and t...
Zacatecas asked 24/2, 2018 at 6:53

3

Solved

I have a batch file which contains nested loop with continue-like command: for %%i in (1, 2, 4, 8, 16, 32, 64, 128, 256) do ( for %%j in (1, 2, 4, 8, 16, 32, 64, 128, 256) do ( if %%i gtr %%j go...
Heracliteanism asked 1/4, 2016 at 11:43

14

Solved

I'm no noobie to PyCharm. But I can't get the Windows 10 cmd.exe to launch from the "Terminal:" tab. I've located & tried both cmd.exe on my Win10 x64 machine: ...but keep getting the same m...
Fagen asked 26/11, 2018 at 18:44

8

Solved

I see how to launch many other programs from a batch file, but I can't find a command like open on Mac OS X. Does such a tool exist on Windows? Powershell, or a Windows API call from an executable ...
Numb asked 3/8, 2010 at 21:28

9

Solved

I am trying to view the user privileges using the command prompt in Windows. User account & User privileges such as: SeBatchLogonRight SeDenyBatchLogonRight SeInteractiveLogonRight SeDenyInte...
Hepcat asked 23/7, 2012 at 6:24

3

I am trying to create a batch (.bat) file for windows XP to do the following: If (file.txt contains the string 'searchString') then (ECHO found it!) ELSE(ECHO not found) So far, I have found a ...
Vitreous asked 11/4, 2011 at 20:4

5

Solved

I want to run a .php file in windows cmd. I followed this (suggestion) php is not recognized as an internal command (in Windows) But it did not work. I tried this command prompt: C:\Windows\syst...
Mantissa asked 13/10, 2012 at 7:11

5

Solved

What's the best way to declare and use a boolean variable in Batch files? This is what I'm doing now: set "condition=true" :: Some code that may change the condition if %condition% == true ( ::...
Hickson asked 22/2, 2016 at 2:29

3

Solved

So I'm trying to use git filter-repo for the first time. I've installed Python 3.9. I try to run: git filter-repo --strip-blobs-bigger-than 100M Each time it fails: Git Bash: git: 'filter-repo' is...
Qualification asked 8/1, 2021 at 9:59

5

Solved

I want to run a gpu accelerated python script on windows using conda environment (dlwin36). I’m trying to activate dlwin36 and execute a script: 1) activate dlwin36 2) set KERAS_BACKEND=tensorfl...
Messuage asked 3/3, 2018 at 8:40

8

Solved

I have installed nvm on my windows machine and with nvm, I installed 2 node versions but it's not letting me change the version. Microsoft Windows [Version 10.0.16299.64] (c) 2017 Microsoft Corpora...
Dearman asked 4/2, 2021 at 13:59

5

Solved

I am trying to download auto-py-to-exe on a different (windows) device than I usually use through pip. However when run I get the error (sorry it is so very very long): ERROR: Command errored out...
Marcelina asked 6/4, 2020 at 15:48

2

ActiveState Perl - 5.26 on Windows 10 - 64 bit. When I am trying to launch cpan from CMD - I see the following error: C:\Users\orenm>cpan Unable to get Terminal Size. The Win32 GetConsoleScr...
Monroe asked 23/1, 2019 at 10:9

7

Solved

I have a project folder somewhere, and many times I need to open command prompt (on windows 7/8.1/10) and cd to that folder. It would be very handy if there's an option right click > open cmd here....
Murdoch asked 20/10, 2016 at 5:27

7

Solved

I'm working on a project that requires me to compile C++ code using MSVC, but I am working mostly with VSCode. As such, I was wondering if there is a way for me to add the Developer Powershell as a...
Kiowa asked 6/5, 2020 at 1:41

© 2022 - 2024 — McMap. All rights reserved.