0
votes
1answer
22 views

compare 2 arrays eg. csv

i would like to know if it is possible to compare 2 list via shell. The setup: List "A" with about 6000 entries List "B" with about 300 entries Is it possible to detect wich are duplicate and wich ...
-3
votes
0answers
28 views

Why does windows not come with a Bash shell? [closed]

A bash shell is a pretty standard feature of a modern operating system but it is not part of Windows? Missing this is like missing a internet browser and makes a huge portion of work impossible. I ...
0
votes
0answers
12 views

Apply new Windows shell context menu item to encrypted files

I am trying to add a context menu item which will only appear if a file is marked as being encrypted. With an AppliesTo entry, I can successfully apply the menu item to only text files with ...
1
vote
2answers
45 views

Equivalent of (foo &>/dev/null &) in Windows shell

I'd like to run a particular application (let's call it foo) from the command line, but I don't want it holding up the terminal, putting any junk in the terminal from its output or error streams, and ...
1
vote
2answers
26 views

Start application from a numbered list of choices

I want to display all applications dynamically within a folder in a numbered list, and launch them by entering the number associated with the application. So far I have the easy part working, the ...
0
votes
0answers
25 views

How to rewrite bash shell script to nyaos script

I'm using this small shell script named zip0 in linux environment. #!/bin/bash zip -0rq "${1}.zip" "./$1"; I also want to use this function in windows nyaos script. By direct input from shell $ ...
2
votes
1answer
160 views

A List Of Windows Shell Commands [duplicate]

I would love a list of Shell commands for Windows. Not to be confused with commands that you would run in Windows DOS. Over time I have come across these commands here and there. Like for example if ...
0
votes
0answers
17 views

Why does CygWin shell uses TAB completion for .DLL files?

If I type in a CygWin Bash shell forma TAB, the result expands to format.com. But if I type modeTABTAB, the results expands to: $ mode mode.com modemui.dll As long as .DLL files are not ...
0
votes
3answers
175 views

How can I add a program path to the Windows environment variables for easy command line access?

Let's say I want to add the following path to the Windows environment variables: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe Such that I can simply type the following from a command line without using ...
0
votes
1answer
101 views

How to rename a file with the current date from the context menu in Explorer?

I want to be able to rename any file or folder with the current date, so I added the following key value to the registry, to get this option to show up in the right-click context menu: ...
0
votes
0answers
28 views

“Send to Mail Recipient” showing up in the SendTo folder but not on Right Click

Strange issue that's coming up on a user's computer, but I am unable to reproduce on my own computer. In %AppData%\Microsoft\Windows\Sendto, the user has the "Send to Mail Recipient" shortcut. ...
0
votes
2answers
110 views

How to exit a batch script when a command is not found

I want the terminal to close itself if adb is not recognized. ADB is a program this script will utilize to detect device. Here is a bit of my script echo My name is RomBreaker echo. echo And I'm ...
0
votes
0answers
67 views

Only single beep for a series of bells in PuTTY

After typing echo -ne '\a' && echo -ne '\a' in PuTTY session only single beep is being produced on local computer instead of two beeps. What is the reason? In PuTTY settings for this ...
1
vote
0answers
39 views

Windows 3.11 maximized shell window in SYSTEM.INI

I use a way to run 16-bit applications by running them in emulated Windows 3.11 in DOSBox. I automatically mount the directory containing the application, set the SHELL property in SYSTEM.INI to the ...
1
vote
0answers
121 views

Adding a new (hidden) “Delete” Context Menu item to Windows 7

I would like to add a new "Delete" context menu item such that I can delete large amounts of files and folders with a single right click without using explorer because of how slow it is. I have ...
0
votes
1answer
34 views

Is it possible to connect to the local Windows shell with PuTTY?

I don't know of a working Windows SSH server (not one that I trust enough, yet, at any rate). Therefore, I can't simply connect to localhost on port 22 from PuTTY. I want to use PuTTY because the ...
0
votes
0answers
109 views

Cygwin can't execute Shell script

I am trying to execute a Shell script using Cygwin. When I type this in the Cygwin terminal: sh build-native.sh I get this: build-native.sh: line 2: ndk-build: command not found It's a script ...
0
votes
1answer
120 views

Is there anything like iTerm2 + Byobu on Windows?

I'm stuck running Windows as my primary OS at work. I'm trying hard to find a good console environment, but falling short. I'd like to have iTerm2 + Byobu. So far I'm using conEmu with the cygwin ...
1
vote
2answers
84 views

How can I replace icons of an application's executable?

I have an application whose executable contains some default icon. Now, I know I can use a shortcut with whatever icon I want, but what I'm looking to do is change the icon without the executable ...
1
vote
1answer
29 views

$(shell [foo]) in windows

I've got a makefile (a file called 'Makefile' which is run by cmake I believe), and most of the 'sample' ones I can see are just one line (and the rest appear to be stuff I don't 'yet' understand and ...
1
vote
2answers
228 views

Filling up the hard drive until certain amount of space is left?

I'm doing some testing of a product on Apple and Android devices. I'd like a script that will fill up the devices hard drive until 100KB space is left on the drive it's runs against to. Also in linux ...
0
votes
1answer
109 views

How do I access this environment variable in the windows git bash shell

I am trying to configure my windows portable git bash shell. When I execute env I get: ANT_HOME=C:\Program Files\WinAnt PORTABLEAPPS.COMVIDEOS:FORWARDSLASH=H:/Documents/Videos ...
0
votes
1answer
69 views

How to create my own vpn service on linux shell?

My company has a private linux server, and I'm just a user of this server, my connection to it is via putty or nc. Is there anyway to install a private VPN on it? our server is connected to the ...
1
vote
1answer
526 views

Shell Shortcuts in Windows OS

to open send to folder in windows 7, we type shell:sendto and to open apps folder in windows 8, we type shell:appsfolder first of all, i would like to know what is this syntax known as (shell: ...
2
votes
2answers
396 views

Cannot delete hidden file on network drive using DOS / batch script

I am trying to delete a file from a mapped network drive, I: In my batch script, I have: del /f I:\bin\.hiddenfile When I run the script, I go to the directory I:\bin and see that .hiddenfile is ...
2
votes
0answers
79 views

How can I get emacs 24.* under windows to autocomplete paths in shell buffers using “\” instead of “/”?

See How can I get emacs under windows to autocomplete paths in shell buffers using "\" instead of "/"? I use emacs on windows 7, when calling M-x shell, emacs opens a DOS-Shell. ...
4
votes
2answers
858 views

How to launch the Windows Explorer shell after starting with a different one?

The following is a hack, but for what I need it for its fine... I created a C# program that shows some EULA text and has an Agree and Disagree button. I set the ...
0
votes
0answers
32 views

How can I add a contextual menu that will work ONLY on files of a specific folder?

I have been looking around and it's hard to find what I want. I know how to add context menus for files of particular extension through registry edit. I need to have context menu for all the files in ...
2
votes
1answer
113 views

How do you call ActivePython from cygwin shell?

I installed ActivePython which is a Python version 3.x installation for Windows. I renamed the interpreter to be activepython.exe so as to allow calling it from cygwin without modifying /etc/profile ...
0
votes
1answer
379 views

On Windows 7 how do you check to see if a file is a hardlink? [duplicate]

I just created a hardlink in Windows 7 using mklink. When I use dir the output doesn't indicate that the new hardlink is a hardlink. Instead it looks exactly like the file it is pointing to. Example ...
4
votes
4answers
9k views

How can I use a bash like shell on windows

I use Linux and a Mac. I'll be teaching some command line stuff soon. What can I install on Windows to give me a terminal window most similar to a basic mac/linux bash shell. Would like to be able to ...
6
votes
2answers
4k views

Windows & Git Bash: Bash PATH to read Windows %PATH% system variable

I've recently added a directory to the Windows PATH manually by going into Control Panel -> System -> Advanced system settings -> Environment Variables -> User variables -> PATH. (Windows 7, 64-bit.) ...
3
votes
1answer
126 views

What is the “shell:” prefix in windows command line mean?

I learned here that I can type "shell:RecycleBinFolder" in the start menu and it will bring up the recyle bin -- and sure enough it does. But what does "shell:" even mean? in what context does it ...
1
vote
1answer
214 views

Manually run “Run” registry entries on windows

I am developing an appliance for a company. I have to develop a custom "explorer.exe" to be run as the shell. The problem is that the current explorer does some import operations such as processing ...
0
votes
2answers
98 views

Windows shell integration command is not working, possible syntax error

I want to create a shell extension to run shiny apps in a local process on a Windows 7 Professional 64 bit. I need a command like R -e "shiny::runApp('~/shinyapp')" as defined in the shiny tutorial ...
0
votes
0answers
44 views

Linux shell equivalent to “cmd /k” [duplicate]

I am working in a multi-platform (Windows and Linux), multi-shell environment. The Windows "shell", cmd, can be executed as cmd /k command, which makes it execute command, but then its console remains ...
4
votes
4answers
515 views

A decent remote shell from UNIX to Windows?

Scenario I'm on Linux and develop on a Windows 7 box virtualized via VirtualBox. My usual way of developing consists in editing source files from Linux via nautilus/SMB (smb://192.168.1.4/...) then ...
4
votes
2answers
606 views

Customizing Powershell to look like Github for Windows' shell

I use Github for Windows and usually I use the "Open a Shell" here command which launches powershell with some custom settings. It makes powershell display extra information when I'm inside a Git repo ...
1
vote
8answers
5k views

How can I move files from Windows to Linux using WinSCP?

I have putty and winscp, but winscp doesn't work in this case because I need to use a command cd ../public in order to enter the directory as I can't find it for some reason. How would I use putty ...
0
votes
3answers
158 views

How to mount a Windows shared drive on OS X given a Windows user like this: myserver@mydomain.com

I have a script in OS X which is something like this: tell application "Finder" try mount volume "SMB://myuser:mypwd@myhost/sharedfolder" end try end tell It works fine, but now ...
1
vote
1answer
184 views

conEmu windows shell command

I recently found out about conEmu and I find it very useful. There are however at least two features I find are lacking, and I wondered if there is a way to set them: When I scroll up, if I left ...
4
votes
2answers
539 views

Windows Explorer: Customize view settings via batch or shell-extension?

In folders with shortcuts (and junctions) I oftenly like to have mid-sized icons, sorted names and grouping by type. Alas, Explorer oftenly forgets these settings once I made them manually. The ...
1
vote
0answers
113 views

Windows cmd only uses Linux commands

I'm using Windows 7 and for some weeks I can't use Windows commands (e.g. taskkill) anymore but Linux commands (e.g. ls, kill, ps,...) instead. The problem seems to be that it is not using my PATH ...
3
votes
2answers
2k views

How to add commands of windows to local shell of XShell 4

XShell is a very powerful tools to ssh remote computers such as Unix/Linux. And it has built some internal commands for you to run within your Windows. Xshell:\> help Internal Commands: new: ...
1
vote
1answer
344 views

Increase width of command line / cmd.exe? [duplicate]

Possible Duplicate: Widen the Win 7 command prompt window? Any way to change the width of the windows command line / cmd.exe? How about using another "shell", is that possible?
0
votes
1answer
280 views

How to move between real mode and protected mode in Windows shell?

I notice an interesting thing happens when you give the old mem.exe command to an XP command prompt: The shell switches from Protected Mode to Real Mode as you can tell from the change in directory ...
-1
votes
2answers
323 views

Command to test if system is Windows or Unix [closed]

I'm looking for a shell command in unix that has a non zero output that is uniform across all unix platforms (for example will allways return 1 on a unix system) and also has no (or zero value) output ...
0
votes
0answers
110 views

Analogue of the “tail -f example.log” command in Windows?

Is there a similar command in Windows?
6
votes
1answer
97 views

something strange about Win-XP's command shell

I wrote the following command in windows XP's command shell and something strange happened: C:\Folder1> copy sample.txt : Because of my typing mistake, I wrote ":" instead of "D:" ... but it ...
0
votes
1answer
240 views

windows “open command window here” gives wrong environment

I often use the right-click "open command window here" feature of Windows-7, but just found a problem where the environment it gives is different than what I get on running cmd from the start line, or ...