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;
}
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
add a comment |
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
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
add a comment |
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
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
android windows unix cordova cmd
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
add a comment |
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
add a comment |
4 Answers
4
active
oldest
votes
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
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
add a comment |
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.
add a comment |
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
add a comment |
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
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
add a comment |
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
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
add a comment |
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
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
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
add a comment |
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
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Feb 1 '15 at 16:49
geekybedouingeekybedouin
4361822
4361822
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
edited May 23 '17 at 12:33
Community♦
11
11
answered Oct 31 '14 at 18:10
frankfrank
2,88531118
2,88531118
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Nov 16 '18 at 18:55
Jose1755Jose1755
1216
1216
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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