Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: creating new files?  (Read 12636 times)

0 Members and 1 Guest are viewing this topic.

lordoftheplat

    Topic Starter


    Hopeful

  • teh god.
  • Thanked: 1
    creating new files?
    « on: March 21, 2007, 05:39:19 AM »
    i was wondering how do u make a file that is .png
    that is empty
    i want the name to be
    Cursor0000.png
    Cursor0001.png
    Cursor0002.png
    Cursor0003.png
    Cursor0004.png
    Cursor0005.png
    Cursor0006.png
    Cursor0008.png
    Cursor0009.png
    Cursor00010.png
    zepperblood.deviantart.com

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: creating new files?
    « Reply #1 on: March 21, 2007, 07:00:06 AM »
    Then in a batch file you can put:
    Quote
    @echo off
    create>>"%userprofile%\desktop\Cursor0000.png"
    create>>"%userprofile%\desktop\Cursor0001.png"
    create>>"%userprofile%\desktop\Cursor0002.png"
    create>>"%userprofile%\desktop\Cursor0003.png"
    create>>"%userprofile%\desktop\Cursor0004.png"
    create>>"%userprofile%\desktop\Cursor0005.png"
    create>>"%userprofile%\desktop\Cursor0006.png"
    create>>"%userprofile%\desktop\Cursor0007.png"
    create>>"%userprofile%\desktop\Cursor0008.png"
    create>>"%userprofile%\desktop\Cursor0009.png"
    create>>"%userprofile%\desktop\Cursor00010.png"
    exit

    If you double click the .png file, it will say 'No preview available' because it is empty. Just right click the file and click edit and you should be in paint and you can do whatever you want with it.

    Note: the 'create' is in the code because i needed something behind the '>>'.

    soybean



      Genius
    • The first soybean ever to learn the computer.
    • Thanked: 469
    • Computer: Specs
    • Experience: Experienced
    • OS: Windows 10
    Re: creating new files?
    « Reply #2 on: March 21, 2007, 07:18:59 AM »
    lordoftheplat, may I make a suggestion regarding the image in your signature block?  Your image is over 113.29KB.  By merely pasting it into Paint and saving as a JPEG file, the file size drops to 20.7KB, or nearly 1/6 the file size of your current image.  And, it will look exactly the same.  
    « Last Edit: March 21, 2007, 07:19:35 AM by soybean »

    lordoftheplat

      Topic Starter


      Hopeful

    • teh god.
    • Thanked: 1
      Re: creating new files?
      « Reply #3 on: March 21, 2007, 07:21:08 AM »
      uh....
      "create" isnt usable in ms-dos...
      it doesnt exist
      there is no such thing in sys32 which is called
      "create.com"
      zepperblood.deviantart.com

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: creating new files?
      « Reply #4 on: March 21, 2007, 07:25:06 AM »
      Quote
      Note: the 'create' is in the code because i needed something behind the '>>'.

      Even if the 'create' was changed to 'cheese' you will still get 11 blank png files, lol
      « Last Edit: March 21, 2007, 07:25:50 AM by carbondudeoxide »

      lordoftheplat

        Topic Starter


        Hopeful

      • teh god.
      • Thanked: 1
        Re: creating new files?
        « Reply #5 on: March 21, 2007, 07:26:21 AM »
        dont get you explain?
        so it should start with
        >>
        zepperblood.deviantart.com

        lordoftheplat

          Topic Starter


          Hopeful

        • teh god.
        • Thanked: 1
          Re: creating new files?
          « Reply #6 on: March 21, 2007, 07:30:10 AM »
          ok i get it so the code can just start with >> cuz ms-dos doesnt allow you to
          UNDERSTOOD!
          zepperblood.deviantart.com

          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: creating new files?
          « Reply #7 on: March 21, 2007, 07:33:42 AM »
          lol
          In this code [highlight]>>"%userprofile%\desktop\file.png"[/highlight]
          [highlight]>>[/highlight] means it saves the file somewhere
          [highlight]%userprofile%\desktop\ [/highlight]is the path of where the file is to be saved
          [highlight]file.png[/highlight] is the filename and filetype to be saved as
          You want a blank file so you can't put
          [highlight]echo. "%userprofile%\desktop\file.png"[/highlight]
          because it will create a line in the png file making it not work.
          because 'create' or 'cheese' is not a recognized code, nothing happens and it creates a file (png) which has nothing in it.

          Simple enough?

          Carbon Dudeoxide

          • Global Moderator

          • Mastermind
          • Thanked: 169
            • Yes
            • Yes
            • Yes
          • Certifications: List
          • Experience: Guru
          • OS: Mac OS
          Re: creating new files?
          « Reply #8 on: March 21, 2007, 07:35:25 AM »
          Quote
          ok i get it so the code can just start with >> cuz ms-dos doesnt allow you to
          UNDERSTOOD!

          Thats why you save it as a BATCH FILE.........................and plz do what Soybean suggested to do.... ;)

          lordoftheplat

            Topic Starter


            Hopeful

          • teh god.
          • Thanked: 1
            Re: creating new files?
            « Reply #9 on: March 21, 2007, 07:38:26 AM »
            ok wait wait i got another problem so now i have created the .png is there
            a way where i can add and image into it with a batch file
            eg. i have a file name
            cursor.png
            but i want 10 of those file
            wif
            Cursor0000.png
            Cursor0001.png
            Cursor0002.png
            Cursor0003.png
            Cursor0004.png
            Cursor0005.png
            Cursor0006.png
            Cursor0008.png
            Cursor0009.png
            Cursor00010.png
            [size=22]
            btw  IT IS AREADY JPEG and seriously it wont look the same the quality will drop
            drasticly[/size]
            « Last Edit: March 21, 2007, 07:40:46 AM by lordoftheplat »
            zepperblood.deviantart.com

            Carbon Dudeoxide

            • Global Moderator

            • Mastermind
            • Thanked: 169
              • Yes
              • Yes
              • Yes
            • Certifications: List
            • Experience: Guru
            • OS: Mac OS
            Re: creating new files?
            « Reply #10 on: March 21, 2007, 07:44:00 AM »
            So you want to have an image already in it?? Because that isn't possible.............

            and also get rid of that scroll bar next to your image, suggest getting rid of the text above that DRAGON MAGE picture
            « Last Edit: March 21, 2007, 07:50:48 AM by carbondudeoxide »

            lordoftheplat

              Topic Starter


              Hopeful

            • teh god.
            • Thanked: 1
              Re: creating new files?
              « Reply #11 on: March 21, 2007, 07:49:39 AM »
              [size=24]TOPIC CLOSED[/size]
              zepperblood.deviantart.com

              ghostdog74



                Specialist

                Thanked: 27
                Re: creating new files?
                « Reply #12 on: March 21, 2007, 08:00:20 AM »
                to create empty file
                Code: [Select]
                copy nul newfile

                soybean



                  Genius
                • The first soybean ever to learn the computer.
                • Thanked: 469
                • Computer: Specs
                • Experience: Experienced
                • OS: Windows 10
                Re: creating new files?
                « Reply #13 on: March 21, 2007, 08:00:52 AM »
                Nope, it'll look just as good, see (20.1KB):
                « Last Edit: March 21, 2007, 08:01:42 AM by soybean »

                lordoftheplat

                  Topic Starter


                  Hopeful

                • teh god.
                • Thanked: 1
                  Re: creating new files?
                  « Reply #14 on: March 21, 2007, 08:03:55 AM »
                  soybean haha funny...ask anyone who have proper eyes they will say that has horrible graphics
                  zepperblood.deviantart.com

                  soybean



                    Genius
                  • The first soybean ever to learn the computer.
                  • Thanked: 469
                  • Computer: Specs
                  • Experience: Experienced
                  • OS: Windows 10
                  Re: creating new files?
                  « Reply #15 on: March 21, 2007, 08:07:44 AM »
                  Well, I still have "proper eyes" and I don't see a difference.  I'd like to hear comments from others on this.

                  lordoftheplat

                    Topic Starter


                    Hopeful

                  • teh god.
                  • Thanked: 1
                    Re: creating new files?
                    « Reply #16 on: March 21, 2007, 08:12:38 AM »
                    ok so u can post the two pictures in a maybe a forum art place and say compare their looks
                    zepperblood.deviantart.com

                    patio

                    • Moderator


                    • Genius
                    • Maud' Dib
                    • Thanked: 1769
                      • Yes
                    • Experience: Beginner
                    • OS: Windows 7
                    Re: creating new files?
                    « Reply #17 on: March 21, 2007, 08:17:16 AM »
                    They look the same to me...

                    I prefer the one without the goofy scrollbar.
                    « Last Edit: March 21, 2007, 08:17:51 AM by patio »
                    " Anyone who goes to a psychiatrist should have his head examined. "

                    soybean



                      Genius
                    • The first soybean ever to learn the computer.
                    • Thanked: 469
                    • Computer: Specs
                    • Experience: Experienced
                    • OS: Windows 10
                    Re: creating new files?
                    « Reply #18 on: March 21, 2007, 08:19:16 AM »
                    Let's put'em right next to each other:
                    Yours

                    Mine


                    Now, tell me how mine is worse than yours.
                    « Last Edit: March 21, 2007, 08:21:33 AM by soybean »

                    lordoftheplat

                      Topic Starter


                      Hopeful

                    • teh god.
                    • Thanked: 1
                      Re: creating new files?
                      « Reply #19 on: March 21, 2007, 08:22:25 AM »
                      the bottom one is the one tat u converted and it is blur and its darker
                      zepperblood.deviantart.com

                      WillyW



                        Specialist
                      • Thanked: 29
                      • Experience: Experienced
                      • OS: Windows XP
                      Re: creating new files?
                      « Reply #20 on: March 21, 2007, 10:39:26 AM »

                      They look the same to me.


                      Quote
                      the bottom one is the one tat u converted and it is blur

                      Where?

                      Quote
                      and its darker

                      Where?
                      .



                      Carbon Dudeoxide

                      • Global Moderator

                      • Mastermind
                      • Thanked: 169
                        • Yes
                        • Yes
                        • Yes
                      • Certifications: List
                      • Experience: Guru
                      • OS: Mac OS
                      Re: creating new files?
                      « Reply #21 on: March 22, 2007, 04:06:46 AM »
                      lol no, the one soybean looks exactly the same as yours. Believe me, I checked...carefully...
                      « Last Edit: March 22, 2007, 04:08:27 AM by carbondudeoxide »

                      lordoftheplat

                        Topic Starter


                        Hopeful

                      • teh god.
                      • Thanked: 1
                        Re: creating new files?
                        « Reply #22 on: March 22, 2007, 05:09:59 AM »
                        ok u guys have very bad eye sight!
                        see the small guy with wings? THAT IS BLURED
                        and the words "dragon mage" is DARKENED OMGGGGGGG
                        zepperblood.deviantart.com

                        ghostdog74



                          Specialist

                          Thanked: 27
                          Re: creating new files?
                          « Reply #23 on: March 22, 2007, 05:25:27 AM »
                          what's this with the avatar argument? if the forum can restrict the size of avatar one can have, then problem solved.

                          lordoftheplat

                            Topic Starter


                            Hopeful

                          • teh god.
                          • Thanked: 1
                            Re: creating new files?
                            « Reply #24 on: March 22, 2007, 05:26:56 AM »
                            lol u should know that all the sig's pic are not uploaded onto the server of computerhope but somewhere else....
                            zepperblood.deviantart.com

                            Carbon Dudeoxide

                            • Global Moderator

                            • Mastermind
                            • Thanked: 169
                              • Yes
                              • Yes
                              • Yes
                            • Certifications: List
                            • Experience: Guru
                            • OS: Mac OS
                            Re: creating new files?
                            « Reply #25 on: March 22, 2007, 06:07:07 AM »
                            Quote
                            Let's put'em right next to each other:
                            Yours

                            Mine


                            Now, tell me how mine is worse than yours.

                            ok fine yours is slightly sharper than soybeans but honestly, I wouldn't care about it.

                            lordoftheplat

                              Topic Starter


                              Hopeful

                            • teh god.
                            • Thanked: 1
                              Re: creating new files?
                              « Reply #26 on: March 22, 2007, 06:16:49 AM »
                              seems like u havnt heard of perfection before
                              zepperblood.deviantart.com

                              Carbon Dudeoxide

                              • Global Moderator

                              • Mastermind
                              • Thanked: 169
                                • Yes
                                • Yes
                                • Yes
                              • Certifications: List
                              • Experience: Guru
                              • OS: Mac OS
                              Re: creating new files?
                              « Reply #27 on: March 22, 2007, 06:51:26 AM »
                              Ok, you're sounding like one is perfect and clear and the other one is dull and boring and blurred. I don't see that on my monitor so perhaps it is the monitors you are using that are different. Just a thought.

                              lordoftheplat

                                Topic Starter


                                Hopeful

                              • teh god.
                              • Thanked: 1
                                Re: creating new files?
                                « Reply #28 on: March 22, 2007, 07:12:40 AM »
                                hmm i wish i could change the comp lol
                                that might make me change my mind on changing the sig:)
                                zepperblood.deviantart.com

                                Carbon Dudeoxide

                                • Global Moderator

                                • Mastermind
                                • Thanked: 169
                                  • Yes
                                  • Yes
                                  • Yes
                                • Certifications: List
                                • Experience: Guru
                                • OS: Mac OS
                                Re: creating new files?
                                « Reply #29 on: March 22, 2007, 07:33:58 AM »
                                you could probably get rid of 'I=' in your signature. Then the 'quote: Goofy Scrollbar' would go away. Then i don't really care what you do about your picture  ;)

                                lordoftheplat

                                  Topic Starter


                                  Hopeful

                                • teh god.
                                • Thanked: 1
                                  Re: creating new files?
                                  « Reply #30 on: March 22, 2007, 07:47:55 AM »
                                  why does it matter?
                                  zepperblood.deviantart.com

                                  WillyW



                                    Specialist
                                  • Thanked: 29
                                  • Experience: Experienced
                                  • OS: Windows XP
                                  Re: creating new files?
                                  « Reply #31 on: March 22, 2007, 08:45:17 AM »
                                  Quote
                                  why does it matter?


                                  Are you on a dial-up connection?
                                  .



                                  lordoftheplat

                                    Topic Starter


                                    Hopeful

                                  • teh god.
                                  • Thanked: 1
                                    Re: creating new files?
                                    « Reply #32 on: March 22, 2007, 08:48:09 AM »
                                    no...why?
                                    zepperblood.deviantart.com

                                    WillyW



                                      Specialist
                                    • Thanked: 29
                                    • Experience: Experienced
                                    • OS: Windows XP
                                    Re: creating new files?
                                    « Reply #33 on: March 22, 2007, 08:53:14 AM »
                                    Quote
                                    no...why?


                                    Many are.

                                    It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.

                                    People come here for advice, help, tips, - to learn something.
                                    What does that picture file - not just once,  but on every post -  offer to them?

                                    .



                                    lordoftheplat

                                      Topic Starter


                                      Hopeful

                                    • teh god.
                                    • Thanked: 1
                                      Re: creating new files?
                                      « Reply #34 on: March 22, 2007, 08:55:10 AM »
                                      Quote
                                      Quote
                                      no...why?


                                      Many are.

                                      It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.

                                      People come here for advice, help, tips, - to learn something.
                                      What does that picture file - not just once,  but on every post -  offer to them?


                                      i suppose they could read the words and not look at the picture?
                                      zepperblood.deviantart.com

                                      WillyW



                                        Specialist
                                      • Thanked: 29
                                      • Experience: Experienced
                                      • OS: Windows XP
                                      Re: creating new files?
                                      « Reply #35 on: March 22, 2007, 09:06:22 AM »
                                      Quote


                                      ... if they did not have to wait while a huge picture file is loaded.



                                      i suppose they could read the words and not look at the picture?


                                      Read what I wrote again.


                                      .



                                      Carbon Dudeoxide

                                      • Global Moderator

                                      • Mastermind
                                      • Thanked: 169
                                        • Yes
                                        • Yes
                                        • Yes
                                      • Certifications: List
                                      • Experience: Guru
                                      • OS: Mac OS
                                      Re: creating new files?
                                      « Reply #36 on: March 23, 2007, 03:29:10 AM »
                                      Quote
                                      Quote
                                      Quote
                                      no...why?


                                      Many are.

                                      It would be much more courteous to them if they did not have to wait while a huge picture file is loaded.

                                      People come here for advice, help, tips, - to learn something.
                                      What does that picture file - not just once,  but on every post -  offer to them?


                                      i suppose they could read the words and not look at the picture?
                                      The page won't load anyone elses posts until the post it's downloading finishes. People on Dial-up would have to wait for your picture to load.