Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #183168

Re: what is the fastest command line copy?

From Newyana2 <newyana@invalid.nospam>
Newsgroups alt.comp.os.windows-11, alt.comp.os.windows-10
Subject Re: what is the fastest command line copy?
Date 2025-04-02 07:53 -0400
Organization A noiseless patient Spider
Message-ID <vsj8dm$1ot1m$1@dont-email.me> (permalink)
References (4 earlier) <vse6e0$e3ib$1@dont-email.me> <vsea99$i2o2$1@dont-email.me> <ljsmujdighbuvcltfh5kihbmnqaqqohern@4ax.com> <vsgpfb$36vg6$1@dont-email.me> <nanpujlogu6350309ttemlh3u4u3798698@4ax.com>

Cross-posted to 2 groups.

Show all headers | View raw


On 4/2/2025 2:50 AM, Steve Hayes wrote:
>> The whole point of scripting for me is
>> so that I only have to do something once. Next time I only have
>> to double-click or drag-drop.
> 
> I'm not sure what you're saying here.
> 
> I have four batch files:
> 
> dsk2flsh.bat
> flsh2lap.bat
> lap2flsh.bat
> flsh2dsk.bat
> 
> I only have to remember the exact syntax when I make the batch files,
> and after that I I have to remember is the name of the batch file.
> 

   Yes. That's one way of operating. As you said, that's
technically a way of scripting, inasmuch as it's interpreted
text. I was comparing scripting in the sense of WSH to
typing commands in a console window. As I said at the start,
life is too short for commandline. There's a fetish aspect to
typing into console windows that oldtimers like and young
people regard as a hazing process. It's much worse on Linux.
And it's not unusual that I get stuck using that method.
Every time I want to update my Raspberry Pi I have to find
that little piece of paper I saved that records the requisite
incantations. That's simply a case of programmers not finishing
the job. After 30 years of GUI we shouldn't ever HAVE TO open
a console window.

    Much of the reason we do is not even programmer
laziness. It's more oldtimer stubbornness. Awhile back I was
trying out Xubuntu and couldn't adjust the clock. Odd. I finally
found a discussion online where the man who coded the clock said
that he specifically didn't add GUI settings because he finds
console window easier. But it's a GUI system! He's like a kid in
a self-driving car who likes to have a clutch pedal just so that he
can feel like he's a cowboy. And he wants everyone to know
that he's a cowboy, who's so tough that he's even played video
games of wrestling a grizzly bear. So he's not going to let anyone
else adjust the clock via GUI, either.

    I have a file that I keep on hand to remind me of various DISM
commands I need. Could I put those in a PS script? Maybe. But I
usually just need one. In fact I have a VBS script to clean TEMP
files, then I pop up a messagebox at the end that says,
"Also clean up winsxs with this command:
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase"

   That way I don't have to go looking up the command. I can just copy
and paste from the messagebox window. But why
isn't there a "Cleanup winsxs" button in System -> Advanced Options
-> Advanced -> Advanced -> Advanced -> Advanced?

   If you're only using pre-written BAT files then that's different.
So, then, what's the difference between that and WSH?

    The difference would be that
BAT files are a primitive approach that WSH was designed
to replace... 30 years ago. Very limited GUI options. Very limited
options for multiple contexts and concurrent operations. No
classes, subroutines, etc. No way to exploit the vast COM
libraries on Windows. Mostly just one-liner calls to
external applets that can do something for you. Your 4 BAT
files only provide options for 4 exact copy operations from A
to B, B to A, A to C, C to A. In other words, it's a 30-year-old
paradigm intended for console screens. My drag-drop script
defines the files to move through simple drag-drop. The options
are unlimited. GUI. Post-1995.

    DOS/BAT is basically one-liner calls that ignore
the vast programming options that Microsoft developed since
1995. It's designed to mimic the DOS command screen that
oldtimers know from pre-GUI days.

   DOS/BAT, and now PS, work well for people who started
with DOS and don't need anything else. As I said, scripting
is not for everyone. I was just just pointing out, for anyone
who's curious, that there are options to use more customized
approaches that are not just complicated incantation one-liners
strung together.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: what is the fastest command line copy? Dual Boot Windows <invalid@invalid.invalid> - 2025-03-31 02:12 +0100
  Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-03-31 04:43 +0200
    Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-03-31 00:47 -0400
      Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-03-31 11:06 +0200
      Re: what is the fastest command line copy? Stan Brown <the_stan_brown@fastmail.fm> - 2025-03-31 12:10 -0700
      Re: what is the fastest command line copy? "Jonathan N. Little" <lws4art@gmail.com> - 2025-04-01 18:56 -0400
    Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-03-31 08:21 -0400
      Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-03-31 15:47 +0200
        Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-03-31 10:54 -0400
          Re: what is the fastest command line copy? Andy Burns <usenet@andyburns.uk> - 2025-03-31 15:59 +0100
          Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-03-31 17:32 +0200
          Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-01 07:00 +0200
            Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-01 09:11 +0200
            Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-01 03:44 -0400
            Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-01 09:26 -0400
              Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-02 08:50 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 04:15 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 10:35 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 05:54 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 16:15 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 11:40 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 18:13 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 12:41 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 20:27 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-03 03:22 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-03 13:10 +0200
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-02 07:57 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 16:19 +0200
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-02 11:04 -0400
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 12:04 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 18:06 +0200
                Re: what is the fastest command line copy? Frank Slootweg <this@ddress.is.invalid> - 2025-04-02 12:41 +0000
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 12:15 -0400
                Re: what is the fastest command line copy? Frank Slootweg <this@ddress.is.invalid> - 2025-04-02 17:36 +0000
                Re: what is the fastest command line copy? Stan Brown <the_stan_brown@fastmail.fm> - 2025-04-02 10:50 -0700
                Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-03 05:24 +0200
                Re: what is the fastest command line copy? Democrat <Democrat@invalid.invalid> - 2025-04-03 06:00 +0000
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-03 08:39 +0200
                Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-03 15:55 +0200
                Re: what is the fastest command line copy? Frank Slootweg <this@ddress.is.invalid> - 2025-04-03 15:06 +0000
                Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-04 13:55 +0200
                Re: what is the fastest command line copy? Frank Slootweg <this@ddress.is.invalid> - 2025-04-04 12:11 +0000
                Re: what is the fastest command line copy? Don_from_AZ <djatechNOSPAM@comcast.net.invalid> - 2025-04-04 10:32 -0700
                Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-05 05:20 +0200
                Re: what is the fastest command line copy? T <T@invalid.invalid> - 2025-04-05 00:44 -0700
                Re: what is the fastest command line copy? Daniel70 <daniel47@eternal-september.org> - 2025-04-06 20:20 +1000
                Re: what is the fastest command line copy? "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-06 21:15 +0100
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-04 08:49 -0400
                Re: what is the fastest command line copy? Steve Hayes <hayesstw@telkomsa.net> - 2025-04-05 05:29 +0200
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-05 08:26 -0400
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-05 00:37 -0400
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-05 08:18 -0400
                Re: what is the fastest command line copy? Char Jackson <none@none.invalid> - 2025-04-03 11:00 -0500
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-02 07:53 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 16:26 +0200
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-02 11:03 -0400
                Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-04-02 18:04 +0200
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-02 12:36 -0400
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-02 13:07 -0400
                Re: what is the fastest command line copy? Paul <nospam@needed.invalid> - 2025-04-03 04:14 -0400
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-04-03 08:40 -0400
                Re: what is the fastest command line copy? Stan Brown <the_stan_brown@fastmail.fm> - 2025-04-02 10:43 -0700
                Re: what is the fastest command line copy? Char Jackson <none@none.invalid> - 2025-04-02 18:59 -0500
                Re: what is the fastest command line copy? Stan Brown <the_stan_brown@fastmail.fm> - 2025-04-02 11:11 -0700
        Re: what is the fastest command line copy? knuttle <keith_nuttle@yahoo.com> - 2025-03-31 10:59 -0400
          Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-03-31 17:26 +0200
            Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-03-31 13:05 -0400
              Re: what is the fastest command line copy? "R.Wieser" <address@is.invalid> - 2025-03-31 20:18 +0200
                Re: what is the fastest command line copy? Newyana2 <newyana@invalid.nospam> - 2025-03-31 14:43 -0400
    Re: what is the fastest command line copy? Stan Brown <the_stan_brown@fastmail.fm> - 2025-03-31 13:40 -0700
  Re: what is the fastest command line copy? T <T@invalid.invalid> - 2025-03-30 23:03 -0700
  Re: what is the fastest command line copy? T <T@invalid.invalid> - 2025-03-30 23:43 -0700
  Re: what is the fastest command line copy? T <T@invalid.invalid> - 2025-04-01 02:01 -0700

csiph-web