Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 23rd, 2005, 03:13 PM
grenouille grenouille is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 34 grenouille User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 48 sec
Reputation Power: 5
cmd and html?

hi there,

yesterday i visited a site of which i viewed the code. the name of the page had a cmd extension in the addressbar but the code looked like common html. does anybody know what *.cmd files are and how they are generated? (googling didn't tell me the relation between cmd and html - uptill now)

thnx in advance,

greetings,

grenouille.

Reply With Quote
  #2  
Old May 23rd, 2005, 08:00 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: I have emerged from the place of spells and fairies
Posts: 97 ChiefWigs1982 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 17 h 35 m 12 sec
Reputation Power: 4
You can call files whatever you want as long as your server is setup
to parse them correctly.

I could call my files index.agent47 if I wanted to, as long as I added
.agent47 to my server config file and told it to parse it as html / php
or whatever...

Reply With Quote
  #3  
Old May 24th, 2005, 09:43 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
Could have been some type of cgi script which runs a windows batch file.
Not sure why anyone would do that...

Reply With Quote
  #4  
Old May 24th, 2005, 02:46 PM
grenouille grenouille is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 34 grenouille User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 48 sec
Reputation Power: 5
thnx for the replies.

Quote:
Originally Posted by Agent47
I could call my files index.agent47 if I wanted to, as long as I added

.agent47 to my server config file and told it to parse it as html / php

or whatever...



How do you do that?

Quote:
Originally Posted by MadCowDzz
Could have been some type of cgi script which runs a windows batch file.


? a batch file on MY pc? or the server?
The site's of a big holding company in belgium. it looks ugly, so i want to persuade them to let me do a restyle.

but i can't just ask "hey, what's that cmd thing all about?"

thnx again,

grenouille

Reply With Quote
  #5  
Old May 24th, 2005, 03:39 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: I have emerged from the place of spells and fairies
Posts: 97 ChiefWigs1982 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 17 h 35 m 12 sec
Reputation Power: 4
What type of server are you running?

Reply With Quote
  #6  
Old May 24th, 2005, 04:19 PM
grenouille grenouille is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 34 grenouille User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 48 sec
Reputation Power: 5
the server on my pc (windows xp) is apache (with phpdev).
but that's just for testing purposes.

my sites are hosted at hostbasket.be . it's called "shared hosting package" and it's a linux host.

i guess i can't change the config file for that last one?

greetz,

grenouille

Reply With Quote
  #7  
Old May 24th, 2005, 04:42 PM
ChiefWigs1982's Avatar
ChiefWigs1982 ChiefWigs1982 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Location: I have emerged from the place of spells and fairies
Posts: 97 ChiefWigs1982 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 17 h 35 m 12 sec
Reputation Power: 4
You might be able to do it with a .htaccess file, but I'm not sure.

You will be better off going to the Webserver config forum lower
down on the index page, and asking your questions there...

Reply With Quote
  #8  
Old May 25th, 2005, 07:50 AM
grenouille grenouille is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 34 grenouille User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 3 m 48 sec
Reputation Power: 5
okay, thanx for the advice.

greetz,

grenouille

Reply With Quote
  #9  
Old May 25th, 2005, 10:11 AM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,890 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 14 m 9 sec
Reputation Power: 8
You can ignore my batch file remark...
It wouldn't be very useful, Agent47's suggestion is more likely the answer.

In my idea above, the batch file would be on the server...
the exact same way CGI executes bourne scripts on a Unix box.
It would be ridiculous and impractical... but it *might* work =)

I wouldn't worry too much about it...

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > cmd and html?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT