Running unix commands on windows cmd





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















i am currently trying to learn how to develop apps for android mobile phones using PhoneGap. i was able to get this book titled "PhoneGap 2x mobile application development". ths book is really nice and self explanatory but the problem i have is when the author want to create d project via the command line, he was using Unix commands because he is running a Unix PC. I am running Windows and to follow his commands using the CMD is a bit hard for me because i dont understand all of his commands.



Below was what he wrote:



mkdir $PROJECT_HOME
cd $PROJECT_HOME
mkdir Android iOS www
cd $PHONEGAP_HOME/lib/android/bin
./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot.
QuizTime QuizTime
cd $PHONEGAP_HOME/lib/ios/bin
./create $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime
cd $PROJECT_HOME
mkdir www/cordova
cp Android/QuizTime/assets/www/cordova-2.2.0.js www/cordova/
cordova-2.2.0-android.js
cp iOS/www/cordova-2.2.0.js www/cordova/cordova-2.2.0-ios.js
cd Android/QuizTime/assets
rm –rf www
ln –s ../../../www
cd ../../../iOS
rm –rf www
ln -s ../www
cd ..
cd www
cp –r $YASMF_DOWNLOAD/framework .
mkdir images models views style
cd ..
cd Android/QuizTime/src/com/phonegaphotshot/QuizTime
edit QuizTime.java
Change "index.html" to "index_android.html"
Save the file.
cd $PROJECT_HOME/iOS/QuizTime


can someone tell me how to do this on the windows cmd. i know what mkdir is but i need a total description and if possible a translation following that if you were to do this on a windows cmd.










share|improve this question























  • have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

    – scrappedcola
    Oct 31 '14 at 17:39











  • the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

    – Andrecon
    Oct 31 '14 at 17:44











  • There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

    – scrappedcola
    Oct 31 '14 at 17:55


















0















i am currently trying to learn how to develop apps for android mobile phones using PhoneGap. i was able to get this book titled "PhoneGap 2x mobile application development". ths book is really nice and self explanatory but the problem i have is when the author want to create d project via the command line, he was using Unix commands because he is running a Unix PC. I am running Windows and to follow his commands using the CMD is a bit hard for me because i dont understand all of his commands.



Below was what he wrote:



mkdir $PROJECT_HOME
cd $PROJECT_HOME
mkdir Android iOS www
cd $PHONEGAP_HOME/lib/android/bin
./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot.
QuizTime QuizTime
cd $PHONEGAP_HOME/lib/ios/bin
./create $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime
cd $PROJECT_HOME
mkdir www/cordova
cp Android/QuizTime/assets/www/cordova-2.2.0.js www/cordova/
cordova-2.2.0-android.js
cp iOS/www/cordova-2.2.0.js www/cordova/cordova-2.2.0-ios.js
cd Android/QuizTime/assets
rm –rf www
ln –s ../../../www
cd ../../../iOS
rm –rf www
ln -s ../www
cd ..
cd www
cp –r $YASMF_DOWNLOAD/framework .
mkdir images models views style
cd ..
cd Android/QuizTime/src/com/phonegaphotshot/QuizTime
edit QuizTime.java
Change "index.html" to "index_android.html"
Save the file.
cd $PROJECT_HOME/iOS/QuizTime


can someone tell me how to do this on the windows cmd. i know what mkdir is but i need a total description and if possible a translation following that if you were to do this on a windows cmd.










share|improve this question























  • have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

    – scrappedcola
    Oct 31 '14 at 17:39











  • the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

    – Andrecon
    Oct 31 '14 at 17:44











  • There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

    – scrappedcola
    Oct 31 '14 at 17:55














0












0








0








i am currently trying to learn how to develop apps for android mobile phones using PhoneGap. i was able to get this book titled "PhoneGap 2x mobile application development". ths book is really nice and self explanatory but the problem i have is when the author want to create d project via the command line, he was using Unix commands because he is running a Unix PC. I am running Windows and to follow his commands using the CMD is a bit hard for me because i dont understand all of his commands.



Below was what he wrote:



mkdir $PROJECT_HOME
cd $PROJECT_HOME
mkdir Android iOS www
cd $PHONEGAP_HOME/lib/android/bin
./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot.
QuizTime QuizTime
cd $PHONEGAP_HOME/lib/ios/bin
./create $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime
cd $PROJECT_HOME
mkdir www/cordova
cp Android/QuizTime/assets/www/cordova-2.2.0.js www/cordova/
cordova-2.2.0-android.js
cp iOS/www/cordova-2.2.0.js www/cordova/cordova-2.2.0-ios.js
cd Android/QuizTime/assets
rm –rf www
ln –s ../../../www
cd ../../../iOS
rm –rf www
ln -s ../www
cd ..
cd www
cp –r $YASMF_DOWNLOAD/framework .
mkdir images models views style
cd ..
cd Android/QuizTime/src/com/phonegaphotshot/QuizTime
edit QuizTime.java
Change "index.html" to "index_android.html"
Save the file.
cd $PROJECT_HOME/iOS/QuizTime


can someone tell me how to do this on the windows cmd. i know what mkdir is but i need a total description and if possible a translation following that if you were to do this on a windows cmd.










share|improve this question














i am currently trying to learn how to develop apps for android mobile phones using PhoneGap. i was able to get this book titled "PhoneGap 2x mobile application development". ths book is really nice and self explanatory but the problem i have is when the author want to create d project via the command line, he was using Unix commands because he is running a Unix PC. I am running Windows and to follow his commands using the CMD is a bit hard for me because i dont understand all of his commands.



Below was what he wrote:



mkdir $PROJECT_HOME
cd $PROJECT_HOME
mkdir Android iOS www
cd $PHONEGAP_HOME/lib/android/bin
./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot.
QuizTime QuizTime
cd $PHONEGAP_HOME/lib/ios/bin
./create $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime
cd $PROJECT_HOME
mkdir www/cordova
cp Android/QuizTime/assets/www/cordova-2.2.0.js www/cordova/
cordova-2.2.0-android.js
cp iOS/www/cordova-2.2.0.js www/cordova/cordova-2.2.0-ios.js
cd Android/QuizTime/assets
rm –rf www
ln –s ../../../www
cd ../../../iOS
rm –rf www
ln -s ../www
cd ..
cd www
cp –r $YASMF_DOWNLOAD/framework .
mkdir images models views style
cd ..
cd Android/QuizTime/src/com/phonegaphotshot/QuizTime
edit QuizTime.java
Change "index.html" to "index_android.html"
Save the file.
cd $PROJECT_HOME/iOS/QuizTime


can someone tell me how to do this on the windows cmd. i know what mkdir is but i need a total description and if possible a translation following that if you were to do this on a windows cmd.







android windows unix cordova cmd






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 31 '14 at 17:36









AndreconAndrecon

3318




3318













  • have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

    – scrappedcola
    Oct 31 '14 at 17:39











  • the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

    – Andrecon
    Oct 31 '14 at 17:44











  • There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

    – scrappedcola
    Oct 31 '14 at 17:55



















  • have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

    – scrappedcola
    Oct 31 '14 at 17:39











  • the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

    – Andrecon
    Oct 31 '14 at 17:44











  • There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

    – scrappedcola
    Oct 31 '14 at 17:55

















have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

– scrappedcola
Oct 31 '14 at 17:39





have you tried checking out google for the commands you don't recognize? Most of these are fairly close to windows. Be more specific for what you don't understand.

– scrappedcola
Oct 31 '14 at 17:39













the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

– Andrecon
Oct 31 '14 at 17:44





the "cp" which i am guessing is "copy" on windows cmd. i just need some one who could translate all that into windows command if he sees something like that. i am not a Unix user but i'm doing my best trying to understand him. like for example where he wrote "cd $PHONEGAP_HOME/lib/android/bin ./create $PROJECT_HOME/Android/QuizTime com.phonegaphotshot. QuizTime QuizTime, i'm gussing he wants me to create a sub-folder within the android/bin folder. i just need help here

– Andrecon
Oct 31 '14 at 17:44













There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

– scrappedcola
Oct 31 '14 at 17:55





There really isn't any guessing on cp. You can easily type in "unix command cp" to get the result. For the ./create that's a bit harder but just means run the script create with the options $PROJECT_HOME/iOS com.phonegaphotshot.QuizTime QuizTime. You need to read a tutorial on basic unix command line. This doesn't really belong in stack overflow and should probably go to the unix group, but without some effort on your part to help yourself I suspect they will probably close the ticket as well.

– scrappedcola
Oct 31 '14 at 17:55












4 Answers
4






active

oldest

votes


















1














I forgot to mention one simple fact. You CAN NOT RUN the unix commands over Windows DOS/CMD
check this link. It gives direct co-relation between dos and unix commands. hope this helps.
http://www.tldp.org/LDP/intro-linux/html/app2.html



or better still, check this
http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html



Once you get the different commands, guess it should not be hard for you to write it in DOS.
Note: The "create" command is part of phonegap/cordova apis..



Also, check this link: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html



Here is a snapshot of the code converted:



 -- make directory ---
C:> mkdir PROJECT_HOME
-- go to the directory you created ---
cd PROJECT_HOME
-- make directories inside ---
C:PROJECT_HOME> mkdir Android
C:PROJECT_HOME> mkdir iOS
C:PROJECT_HOME> mkdir www
-- now navigate to the bin directory- ---
C:PROJECT_HOME> cd libandroidbin
-- now you basically runn the create command, am hereby just putting in what you wrote ---
C:PROJECt_HOMElibandroidbin>create PROJECT_HOMEAndroidQuizTime com.phonegaphotshot.QuizTime QuizTime
----- do same for the ios------------
-------make dir for cordova -------
C:PROJECT_HOME> cd www
C:PROJECT_HOMEwww> mkdir cordova
--then you have to copy the contents of one directory to another, to copy everyrthin in directory recursively, use xcopy-----------
C:PROJECT_HOME> XCOPY AndroidQuizTimeassetswwwcordova-2.2.0.js wwwcordovacordova-2.2.0-android.js





share|improve this answer


























  • i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

    – Andrecon
    Oct 31 '14 at 17:48











  • @Andrecon I can only guide a bit. check the edit above.

    – newDevGeek
    Oct 31 '14 at 18:25











  • I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

    – newDevGeek
    Oct 31 '14 at 18:30











  • i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

    – Andrecon
    Nov 1 '14 at 18:03



















1














I know this is a quite old question but anyway, have you ever tried a terminal emulator? Try Console. It's a free terminal emulator for windows.



and to get to know what a command does type



man <command>


in the terminal.






share|improve this answer































    0














    The book "PhoneGap 2x mobile application development" is quite old. The phonegap/cordova development has changed quite a bit from 3x onwards. The current/latest version is 4x.



    Below are the links pertaining to phonegap/cordova 3x which will work for 3x and 4x versions.



    hope it helps.



    http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/



    http://coenraets.org/blog/cordova-phonegap-3-tutorial/



    http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html



    http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html



    http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide



    Phonegap Cordova installation Windows






    share|improve this answer

































      0














      If you install Cygwin you can use unix commands on Windows CMD as you can see on this website https://lifehacker.com/362316/use-unix-commands-in-windows-built-in-command-prompt






      share|improve this answer
























        Your Answer






        StackExchange.ifUsing("editor", function () {
        StackExchange.using("externalEditor", function () {
        StackExchange.using("snippets", function () {
        StackExchange.snippets.init();
        });
        });
        }, "code-snippets");

        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "1"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f26680444%2frunning-unix-commands-on-windows-cmd%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        I forgot to mention one simple fact. You CAN NOT RUN the unix commands over Windows DOS/CMD
        check this link. It gives direct co-relation between dos and unix commands. hope this helps.
        http://www.tldp.org/LDP/intro-linux/html/app2.html



        or better still, check this
        http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html



        Once you get the different commands, guess it should not be hard for you to write it in DOS.
        Note: The "create" command is part of phonegap/cordova apis..



        Also, check this link: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html



        Here is a snapshot of the code converted:



         -- make directory ---
        C:> mkdir PROJECT_HOME
        -- go to the directory you created ---
        cd PROJECT_HOME
        -- make directories inside ---
        C:PROJECT_HOME> mkdir Android
        C:PROJECT_HOME> mkdir iOS
        C:PROJECT_HOME> mkdir www
        -- now navigate to the bin directory- ---
        C:PROJECT_HOME> cd libandroidbin
        -- now you basically runn the create command, am hereby just putting in what you wrote ---
        C:PROJECt_HOMElibandroidbin>create PROJECT_HOMEAndroidQuizTime com.phonegaphotshot.QuizTime QuizTime
        ----- do same for the ios------------
        -------make dir for cordova -------
        C:PROJECT_HOME> cd www
        C:PROJECT_HOMEwww> mkdir cordova
        --then you have to copy the contents of one directory to another, to copy everyrthin in directory recursively, use xcopy-----------
        C:PROJECT_HOME> XCOPY AndroidQuizTimeassetswwwcordova-2.2.0.js wwwcordovacordova-2.2.0-android.js





        share|improve this answer


























        • i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

          – Andrecon
          Oct 31 '14 at 17:48











        • @Andrecon I can only guide a bit. check the edit above.

          – newDevGeek
          Oct 31 '14 at 18:25











        • I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

          – newDevGeek
          Oct 31 '14 at 18:30











        • i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

          – Andrecon
          Nov 1 '14 at 18:03
















        1














        I forgot to mention one simple fact. You CAN NOT RUN the unix commands over Windows DOS/CMD
        check this link. It gives direct co-relation between dos and unix commands. hope this helps.
        http://www.tldp.org/LDP/intro-linux/html/app2.html



        or better still, check this
        http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html



        Once you get the different commands, guess it should not be hard for you to write it in DOS.
        Note: The "create" command is part of phonegap/cordova apis..



        Also, check this link: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html



        Here is a snapshot of the code converted:



         -- make directory ---
        C:> mkdir PROJECT_HOME
        -- go to the directory you created ---
        cd PROJECT_HOME
        -- make directories inside ---
        C:PROJECT_HOME> mkdir Android
        C:PROJECT_HOME> mkdir iOS
        C:PROJECT_HOME> mkdir www
        -- now navigate to the bin directory- ---
        C:PROJECT_HOME> cd libandroidbin
        -- now you basically runn the create command, am hereby just putting in what you wrote ---
        C:PROJECt_HOMElibandroidbin>create PROJECT_HOMEAndroidQuizTime com.phonegaphotshot.QuizTime QuizTime
        ----- do same for the ios------------
        -------make dir for cordova -------
        C:PROJECT_HOME> cd www
        C:PROJECT_HOMEwww> mkdir cordova
        --then you have to copy the contents of one directory to another, to copy everyrthin in directory recursively, use xcopy-----------
        C:PROJECT_HOME> XCOPY AndroidQuizTimeassetswwwcordova-2.2.0.js wwwcordovacordova-2.2.0-android.js





        share|improve this answer


























        • i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

          – Andrecon
          Oct 31 '14 at 17:48











        • @Andrecon I can only guide a bit. check the edit above.

          – newDevGeek
          Oct 31 '14 at 18:25











        • I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

          – newDevGeek
          Oct 31 '14 at 18:30











        • i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

          – Andrecon
          Nov 1 '14 at 18:03














        1












        1








        1







        I forgot to mention one simple fact. You CAN NOT RUN the unix commands over Windows DOS/CMD
        check this link. It gives direct co-relation between dos and unix commands. hope this helps.
        http://www.tldp.org/LDP/intro-linux/html/app2.html



        or better still, check this
        http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html



        Once you get the different commands, guess it should not be hard for you to write it in DOS.
        Note: The "create" command is part of phonegap/cordova apis..



        Also, check this link: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html



        Here is a snapshot of the code converted:



         -- make directory ---
        C:> mkdir PROJECT_HOME
        -- go to the directory you created ---
        cd PROJECT_HOME
        -- make directories inside ---
        C:PROJECT_HOME> mkdir Android
        C:PROJECT_HOME> mkdir iOS
        C:PROJECT_HOME> mkdir www
        -- now navigate to the bin directory- ---
        C:PROJECT_HOME> cd libandroidbin
        -- now you basically runn the create command, am hereby just putting in what you wrote ---
        C:PROJECt_HOMElibandroidbin>create PROJECT_HOMEAndroidQuizTime com.phonegaphotshot.QuizTime QuizTime
        ----- do same for the ios------------
        -------make dir for cordova -------
        C:PROJECT_HOME> cd www
        C:PROJECT_HOMEwww> mkdir cordova
        --then you have to copy the contents of one directory to another, to copy everyrthin in directory recursively, use xcopy-----------
        C:PROJECT_HOME> XCOPY AndroidQuizTimeassetswwwcordova-2.2.0.js wwwcordovacordova-2.2.0-android.js





        share|improve this answer















        I forgot to mention one simple fact. You CAN NOT RUN the unix commands over Windows DOS/CMD
        check this link. It gives direct co-relation between dos and unix commands. hope this helps.
        http://www.tldp.org/LDP/intro-linux/html/app2.html



        or better still, check this
        http://www.yolinux.com/TUTORIALS/unix_for_dos_users.html



        Once you get the different commands, guess it should not be hard for you to write it in DOS.
        Note: The "create" command is part of phonegap/cordova apis..



        Also, check this link: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html



        Here is a snapshot of the code converted:



         -- make directory ---
        C:> mkdir PROJECT_HOME
        -- go to the directory you created ---
        cd PROJECT_HOME
        -- make directories inside ---
        C:PROJECT_HOME> mkdir Android
        C:PROJECT_HOME> mkdir iOS
        C:PROJECT_HOME> mkdir www
        -- now navigate to the bin directory- ---
        C:PROJECT_HOME> cd libandroidbin
        -- now you basically runn the create command, am hereby just putting in what you wrote ---
        C:PROJECt_HOMElibandroidbin>create PROJECT_HOMEAndroidQuizTime com.phonegaphotshot.QuizTime QuizTime
        ----- do same for the ios------------
        -------make dir for cordova -------
        C:PROJECT_HOME> cd www
        C:PROJECT_HOMEwww> mkdir cordova
        --then you have to copy the contents of one directory to another, to copy everyrthin in directory recursively, use xcopy-----------
        C:PROJECT_HOME> XCOPY AndroidQuizTimeassetswwwcordova-2.2.0.js wwwcordovacordova-2.2.0-android.js






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 31 '14 at 18:38

























        answered Oct 31 '14 at 17:39









        newDevGeeknewDevGeek

        323217




        323217













        • i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

          – Andrecon
          Oct 31 '14 at 17:48











        • @Andrecon I can only guide a bit. check the edit above.

          – newDevGeek
          Oct 31 '14 at 18:25











        • I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

          – newDevGeek
          Oct 31 '14 at 18:30











        • i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

          – Andrecon
          Nov 1 '14 at 18:03



















        • i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

          – Andrecon
          Oct 31 '14 at 17:48











        • @Andrecon I can only guide a bit. check the edit above.

          – newDevGeek
          Oct 31 '14 at 18:25











        • I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

          – newDevGeek
          Oct 31 '14 at 18:30











        • i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

          – Andrecon
          Nov 1 '14 at 18:03

















        i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

        – Andrecon
        Oct 31 '14 at 17:48





        i have seen the link and it helps but i am still confused with some parts of the Unix commands he wrote. could you help translate it for me if you were to follow him and you are using a windows pc? i really need to get this started

        – Andrecon
        Oct 31 '14 at 17:48













        @Andrecon I can only guide a bit. check the edit above.

        – newDevGeek
        Oct 31 '14 at 18:25





        @Andrecon I can only guide a bit. check the edit above.

        – newDevGeek
        Oct 31 '14 at 18:25













        I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

        – newDevGeek
        Oct 31 '14 at 18:30





        I do not know, but may i know the reason for downvote for the answer? Am just trying to guide the person in right direction. Not a great deal, but I would love to know the reasoning behind.

        – newDevGeek
        Oct 31 '14 at 18:30













        i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

        – Andrecon
        Nov 1 '14 at 18:03





        i'll try your suggestion and get back to u. Thanks and you will have my vote if it works

        – Andrecon
        Nov 1 '14 at 18:03













        1














        I know this is a quite old question but anyway, have you ever tried a terminal emulator? Try Console. It's a free terminal emulator for windows.



        and to get to know what a command does type



        man <command>


        in the terminal.






        share|improve this answer




























          1














          I know this is a quite old question but anyway, have you ever tried a terminal emulator? Try Console. It's a free terminal emulator for windows.



          and to get to know what a command does type



          man <command>


          in the terminal.






          share|improve this answer


























            1












            1








            1







            I know this is a quite old question but anyway, have you ever tried a terminal emulator? Try Console. It's a free terminal emulator for windows.



            and to get to know what a command does type



            man <command>


            in the terminal.






            share|improve this answer













            I know this is a quite old question but anyway, have you ever tried a terminal emulator? Try Console. It's a free terminal emulator for windows.



            and to get to know what a command does type



            man <command>


            in the terminal.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 1 '15 at 16:49









            geekybedouingeekybedouin

            4361822




            4361822























                0














                The book "PhoneGap 2x mobile application development" is quite old. The phonegap/cordova development has changed quite a bit from 3x onwards. The current/latest version is 4x.



                Below are the links pertaining to phonegap/cordova 3x which will work for 3x and 4x versions.



                hope it helps.



                http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/



                http://coenraets.org/blog/cordova-phonegap-3-tutorial/



                http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html



                http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html



                http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide



                Phonegap Cordova installation Windows






                share|improve this answer






























                  0














                  The book "PhoneGap 2x mobile application development" is quite old. The phonegap/cordova development has changed quite a bit from 3x onwards. The current/latest version is 4x.



                  Below are the links pertaining to phonegap/cordova 3x which will work for 3x and 4x versions.



                  hope it helps.



                  http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/



                  http://coenraets.org/blog/cordova-phonegap-3-tutorial/



                  http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html



                  http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html



                  http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide



                  Phonegap Cordova installation Windows






                  share|improve this answer




























                    0












                    0








                    0







                    The book "PhoneGap 2x mobile application development" is quite old. The phonegap/cordova development has changed quite a bit from 3x onwards. The current/latest version is 4x.



                    Below are the links pertaining to phonegap/cordova 3x which will work for 3x and 4x versions.



                    hope it helps.



                    http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/



                    http://coenraets.org/blog/cordova-phonegap-3-tutorial/



                    http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html



                    http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html



                    http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide



                    Phonegap Cordova installation Windows






                    share|improve this answer















                    The book "PhoneGap 2x mobile application development" is quite old. The phonegap/cordova development has changed quite a bit from 3x onwards. The current/latest version is 4x.



                    Below are the links pertaining to phonegap/cordova 3x which will work for 3x and 4x versions.



                    hope it helps.



                    http://thejackalofjavascript.com/phonegap-3-cli-setup-mac-windows/



                    http://coenraets.org/blog/cordova-phonegap-3-tutorial/



                    http://teusink.blogspot.in/2013/07/guide-phonegap-3-android-windows.html



                    http://sdk.revmobmobileadnetwork.com/phonegap_cordova.html



                    http://docs.phonegap.com/en/3.5.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide



                    Phonegap Cordova installation Windows







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited May 23 '17 at 12:33









                    Community

                    11




                    11










                    answered Oct 31 '14 at 18:10









                    frankfrank

                    2,88531118




                    2,88531118























                        0














                        If you install Cygwin you can use unix commands on Windows CMD as you can see on this website https://lifehacker.com/362316/use-unix-commands-in-windows-built-in-command-prompt






                        share|improve this answer




























                          0














                          If you install Cygwin you can use unix commands on Windows CMD as you can see on this website https://lifehacker.com/362316/use-unix-commands-in-windows-built-in-command-prompt






                          share|improve this answer


























                            0












                            0








                            0







                            If you install Cygwin you can use unix commands on Windows CMD as you can see on this website https://lifehacker.com/362316/use-unix-commands-in-windows-built-in-command-prompt






                            share|improve this answer













                            If you install Cygwin you can use unix commands on Windows CMD as you can see on this website https://lifehacker.com/362316/use-unix-commands-in-windows-built-in-command-prompt







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 16 '18 at 18:55









                            Jose1755Jose1755

                            1216




                            1216






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Stack Overflow!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f26680444%2frunning-unix-commands-on-windows-cmd%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Florida Star v. B. J. F.

                                Danny Elfman

                                Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues