Is there a built-in Windows command-line editor? [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
When I connect to a 64-Bit Windows server via PowerShell e.g., is there some built-in command-line tool that allows text editing (assuming that I cannot/do not want to install software)?
For Linux, e.g., I can expect that there is vi installed on virtually every system. For old DOS/Windows version, there has been edit.exe which seems not to be there anymore.

(not enough reputation to comment, so will do it here)
As far as I know, there's not a built-in editor; however, a workaround would be to use:
type CON>myfile.txt
As explained here, this will forward the input in the console to your file. Not nice, not powerfull, but it may help sometimes.
Please note this WON'T work through Powershell, but you may use it with winrs -r:server cmd or with psexec.

Related

Is there a function to resize terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I searched around a lot but found just how to get terminal size, but not how to resize it.
Are there any solutions?
I tried with \e[8;50;100t but it doesn't work on windows.
You will have to use the Windows API to do that. Here a Stack-Overflow answer that gives you the correct API calls needed to do that: How do you programmatically resize and move windows with the Windows API?
From Go you can call the Windows API either using CGO or using syscall. Here an article that uses syscall which is easier to get started: https://medium.com/#justen.walker/breaking-all-the-rules-using-go-to-call-windows-api-2cbfd8c79724
Note that you should always protect a file using Windows specific commands with a build flag. This won't work for other OSs. If you need this to work for other OSs, too, you need to implement different versions for the OSs you want to support.

Is there documentation for configuring and using terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I just want to use my computer from the terminal. I have read through the Apple Terminal Help documentation, but am looking for more instruction.
i found this 2003 pdf doc. it is pretty comprehensive and still relevant to this day. i suggest setting up a developer account if you are keen to learn more.
As for the things you intend to do on terminal,
man is your great dictionary assistant
cd, ls and pwd are your great buddies in navigating around the files and folders
curl is your great bestie for browsing web pages
.bash_profile is where your configuration lies
Hope this helps!

the package can prompt file path prompt like Bracket while editing HTML [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
It is really handy in Bracket Editor that can prompt the file path while typing.
After search for a while I still cannot find a package that accomplish the same thing Bracket does.
Can you suggest or name one package providing similar feature in Sublime Text 3.
I use AutoFileName, although it can be a bit intrusive at times, if you're trying to type a string literal and it keeps trying to autocomplete paths. Other than that, recent versions seem to work quite well. Another option is FileSystem Autocompletion, which I haven't tried. FuzzyFilePath may also work for you, but only inserts file paths in your current project.

What program in windows is equivalent to OS's terminal? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Switching from programming on Mac to windows, and I need to access github. Don't know where to submit bash commands in order to clone my repositories.
I made the switch last year and I actually don't mind using Windows since I found some nice tools.
This is the best terminal I have found used yet: http://bliker.github.io/cmder/
New link: http://cmder.net/
New new link: https://cmder.app/
The great thing is you can use UNIX commands as well. You can even do something such as:
vim run.bat
to edit a batch file.
The closest built-in equivalent is cmd.exe. It is, however, not a bash shell: the command set is very different.
If you specifically need bash, you could install Cygwin.
If you're going the command line way for git access, you're probably looking for msys git: https://msysgit.github.io/

Java library/API to help run windows commands [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there a Java library/API available to interact with Windows OS, like executing commands on the command prompt and returning the output back to the program?
You can use java.lang.Runtime.exec() to do it, but read this first.
Use the ProcessBuilder, which is available starting from Java 1.5!
It has the nice ability to let you redirect the error stream which makes you only have to cope with one InputStream to read from.
Good article here: Runtime.exec() and the API is here: link text

Resources