📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

.bat file in Windows 7

Options
To put files on my web page I use ftp and when I had windows xp I had a .bat file sitting on my desktop which when double clicked took me to my ISP's ftp site.

I decided to update my site which I haven't for a few years and got out the DVD with my files and double clicked my .bat file.

And a command prompt immediately opened and closed.

Is there a difference in the way windows 7 and windows xp handle bat files?

this is the bat file, suitably encrypted.

ftp
open
ftp.pwp.myisp.co.uk
retired2011
password

this is what I type in after opening a cmd prompt.

What is different now with windows 7 that it does not work whereas in windows xp it did?

Also I had a form that appeared after clicking a button on my web page that could be filled in and on clicking submit it sent me an email.

This no longer works but I think this has something to do with my ISP.

Comments

  • waddler_8
    waddler_8 Posts: 3,588 Forumite
    Try right click > "Run as Administrator"
  • Try right click > "Run as Administrator"

    already tried that.
  • closed
    closed Posts: 10,886 Forumite
    ftp ftp.pwp.myisp.co.uk

    in batch file

    then enter

    retired2011
    password

    manually

    if it doesnt work, start the cmd prompt and type

    ftp ftp.pwp.myisp.co.uk

    and see what comes up

    if ftp.exe is not found in the path, that could stop it working
    !!
    > . !!!! ----> .
  • Mr_Toad
    Mr_Toad Posts: 2,462 Forumite
    To put files on my web page I use ftp and when I had windows xp I had a .bat file sitting on my desktop which when double clicked took me to my ISP's ftp site.

    I decided to update my site which I haven't for a few years and got out the DVD with my files and double clicked my .bat file.

    And a command prompt immediately opened and closed.

    Is there a difference in the way windows 7 and windows xp handle bat files?

    this is the bat file, suitably encrypted.

    ftp
    open
    ftp.pwp.myisp.co.uk
    retired2011
    password

    this is what I type in after opening a cmd prompt.

    What is different now with windows 7 that it does not work whereas in windows xp it did?

    Also I had a form that appeared after clicking a button on my web page that could be filled in and on clicking submit it sent me an email.

    This no longer works but I think this has something to do with my ISP.


    Instead of clicking on the batch file open up the terminal window and run the file from the command line.
    One by one the penguins are slowly stealing my sanity.
  • Lil306
    Lil306 Posts: 1,692 Forumite
    Part of the Furniture 1,000 Posts Name Dropper Combo Breaker
    masonn wrote: »
    Instead of clicking on the batch file open up the terminal window and run the file from the command line.

    to cheat, just open a command prompt and drag and drop the file, quickest way of entering the command
    Owner of andrewhope.co.uk, hate cars and love them

    Working towards DFD

    HSBC Credit Card - £2700 / £7500
    AA Loans - (cleared £9700)
  • it stops when it reaches user which I have to put in manually.

    6 years ago it stopped after the password.
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 351.2K Banking & Borrowing
  • 253.2K Reduce Debt & Boost Income
  • 453.7K Spending & Discounts
  • 244.2K Work, Benefits & Business
  • 599.3K Mortgages, Homes & Bills
  • 177K Life & Family
  • 257.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.