Solved TERMINAL QUESTION


SKYTALKER

New member
Local time
8:08 AM
Posts
1
OS
WINDOWS 11
I recently bought a new desktop, which has Win 11 installed on it, to replace my laptop, which has Win 8.1. On my laptop, I would run this command on the Terminal App: "copy *.csv 01.CSV". This simple command would combine all of the contents of each .CSV file and put them into a new file named "01.CSV". When I run the command in Win 11, even though I select every file in a directory, it only copies 1 file into 01.csv instead of all the files. What am I doing wrong and what can I do, to combine all file contents into 1 file?
 

My Computer My Computer

At a glance

WINDOWS 11
OS
WINDOWS 11
Computer type
PC/Desktop
Manufacturer/Model
G457
Terminal is likely opening with a Windows PowerShell session, not the classic command prompt. The copy command in PowerShell works a little differently than in command prompt. At the top of the Terminal window, you should see a plus sign and a downward caret thingy. Click the caret thingy and open a command prompt.

View attachment 162996

The equivalent PowerShell command would be cat *.csv | sc 01.csv.
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2
OS
Windows 11 Enterprise 25H2

Latest Support Threads

Back
Top Bottom