Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

File Copy

This is a discussion on File Copy within the Unix/Linux forums, part of the Operating Systems category; Hi guys, I created a batch file. when I clicked on the templating.bat for the first time in SSH. Now when I click on the templating.bat, it just opens the ...

Go Back   Geeks Talk > Operating Systems > Unix/Linux
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 05-24-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 1,194
Thanks: 155
Thanked 469 Times in 228 Posts
rijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of lightrijus is a glorious beacon of light
Smile File Copy

Hi guys,

I created a batch file.

when I clicked on the templating.bat for the first time in SSH.

Now when I click on the templating.bat, it just opens the notepad page and shows content of the batch file rather than running it.

And at the top of the page, it shows a number how many times the file is opened e.g. templating(9).bat.

So why is it behaving like this, rather than running the file and creating a copy ?

When timestamp is attached to the file, ebvery minute timestamp changes. Sp every minute same file is copied, new file will be creted with the new timestamp. Whis is just duplication files.

How can I make sure, that if templating.cfg file has been changed then only copy it otherwise not and leave the timestamp as is ?


Change the timestamp only if there have been changes to the file.


plz help me 2 correcrt this

Thanks in advance

Last edited by admin; 05-24-2009 at 10:18 PM.
Reply With Quote
Sponsored Links
Reply

  Geeks Talk > Operating Systems > Unix/Linux

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
copy constructorssssssssss aman15490 Java 1 08-12-2008 02:06 AM
Agogo DVD Copy - Backup DVD to new copy for saving original disc. JobHelper Geeks Lounge 0 01-14-2008 12:50 PM
How to copy the file from one location to another location using vbscript? pradeep_m QTP 2 01-10-2008 12:18 PM
Include a new copy lib into a copy book boobathi Data Warehousing 0 01-03-2008 05:43 AM
Silent Copy - copy your files with the convenience! JobHelper Geeks Lounge 0 04-05-2007 03:40 AM


All times are GMT -4. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved