All Questions
22
questions
1
vote
1
answer
1k
views
Push-Location in Powershell not working the same as PUSHD in bat
EDIT: Alt title: New-PSDrive in Powershell not working the same as NET USE in bat
I'm trying to load a python script in WinPython off a UNC Path, so I need to map it to a drive. I have all this ...
-1
votes
1
answer
13k
views
Python 3.6 does not run on Windows 10
Using Windows 10.
First I uninstall any existing versions of Python 3 or Python 2.0
https://www.python.org/ftp/python/3.6.0/python-3.6.0-amd64.exe
Then I run the above program, Windows seems to ...
0
votes
1
answer
781
views
Is there a way to auto-run a script when entering a directory in powershell?
I have multiple folders containing different python projects. Each project has its own virtual environment that I activate before working on it. I activate the virtual environment by running in the ...
0
votes
0
answers
1k
views
What is the difference in Windows CMD and PowerShell redirection and text Encoding?
Granted, this is not a great title, but to be honest I was unsure how to word the question without posting an essay as the question. This description should add some flesh.
Problem:
I have a Python ...
0
votes
1
answer
1k
views
How can I rename all image files within a directory (and recursively within its subdirectories)?
I have a directory containing a large number of image files, some of which are in subdirectories. I need to rename all image files matching *.png, *.jpg, *.jpeg, *.bmp, *.gif using a simple pattern ...
1
vote
1
answer
995
views
Split large text file according to record values
There are some questions alike in this site, but mine is a bit different.
I have a 30 GB text file, and I need to split it into smaller files according to the different record values.
For example;
...
2
votes
1
answer
29k
views
pip is not recognized as an internal or external command
I have installed pip and distribute, and no errors came up. But when I enter pip into the cmd or windows powershell, it gives me an error. However, when I import pip into python, no errors come up.
I ...