Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Easy! BAT file

Posted on 2004-04-21
9
405 Views
Last Modified: 2010-04-13
Hi,
I have a simple 1 line copy stmt in a .bat file.
It's not executing properly, but can't see what's going on or the error msg.
Is there a way to leave the command prompt window open after execution, successful or not?
thanks,
phil
0
Comment
Question by:spoowiz
  • 4
  • 3
  • 2
9 Comments
 

Author Comment

by:spoowiz
ID: 10882637
btw,
i double-click on it to execute. running Win2000Pro.
0
 
LVL 32

Expert Comment

by:LucF
ID: 10882795
Hi spoowiz,

Run it from the command prompt to see what is troubling it.
Start => Run => type "CMD" (without the quotes and press enter)

Greetings,

LucF
0
 

Author Comment

by:spoowiz
ID: 10882873
It's a long stmt so I was hoping to not re-type.
Is there a way to copy/paste?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 32

Accepted Solution

by:
LucF earned 50 total points
ID: 10882934
Sure, just select everything, then press CTRL-C
Switch to the command screen (if you use it full screen, press ALT-enter to make it a window)
Rightclick on the top left corner => edit => paste
0
 
LVL 1

Expert Comment

by:Nermal
ID: 10882966
If you open the file in an editor (notepad or equivalent) select the text and copy it.
Start - Run - CMD
Click Top-left corner of Command Window select Edit - Paste
Execute the command and the result should appear on the screen and stay there.

N
0
 
LVL 32

Expert Comment

by:LucF
ID: 10882994
:)
0
 

Author Comment

by:spoowiz
ID: 10883001
Thanks. That's really useful. I always wondered why the command prompt didn't have cut/paste function. Now I know it's there. Sorry Nermal, LucF beat you to it.
0
 
LVL 32

Expert Comment

by:LucF
ID: 10885905
Glad to help ;-)

LucF
0
 
LVL 1

Expert Comment

by:Nermal
ID: 10886489
Thats OK, glad you managed to solve your problem.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
demote crashed domain controller (server 2000) 3 1,011
Just changed my 2000 Server DCs IP now what 3 405
Terminal 2000 connection RDP 5 140
Repair old Windows 2000 boot 15 233
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Some of the SEO trends we might expect in 2017.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question