.BAT konsole öffnen

Dieses Thema im Forum "Programmierung & Entwicklung" wurde erstellt von BlackBurn.Ger, 29. November 2006 .

Schlagworte:
  1. 29. November 2006
    Hallo Leute,
    Kann ich irgendwie anhand einer .BAT datei die console öffnen?
    weil so kann ich si enicht öffnen weil sie vom schul rechner gesperrt worden ist.
    kann mir da einer helfen?
    oder mit c++ irgendwie?

    würde mich freuen wenn ich die KONSOLE also CMD irgendwie öffnen könnte.
    danke schonmal leute.


    mfg
     
  2. 29. November 2006
    AW: .BAT konsole öffnen

    hast mal statt "cmd" mal "command" ausprobiert?

    ist an sich fast das gleiche, meinen zumindest viele leute.
    allerdings rufst du damit 2 unterschiedliche konsolen auf.
    cmd = 32bit
    command = 16bit

    /// EDIT:
    ansonsten schau mal hier:
    http://www.jex-treme.de/forum/archive/1023405357/thread.html
    da hat jemand was ähnliches angefragt und wohl ne Lösung gefunden
     
  3. 29. November 2006
    AW: .BAT konsole öffnen

    super danke dir hat geklappt.
    jetzt noch eine frage.
    weiss einer wie ich .txt dokumente oder sowas per net send vershcicken kann?
    geht das?

    danke schonmal.

    mfg
     
  4. 29. November 2006
    AW: .BAT konsole öffnen

    hab sowas gefunden :


    If have scripted sndfle.bat to allow you to NET SEND the contents of a text file to users. The syntax is:

    sndfle filename [User1 | /DOMAIN] [User2 User3 ... UserN]

    where:

    Filename is the name of the text file, either single or multi-line, that contains the message text.

    Userx is a list of usernames, separated by a space, who should receive the message. You may use /DOMAIN, instead of any usernames, to send to all users in the domain.

    Note: The longest message I was able to send was 887 character to users and 127 characters to /DOMAIN.

    sndfle.bat contains:

    Code:
    
    @echo off
    setlocal
    if {%2}=={} (echo usage: sndfle msgfile user-list) & (goto end)
    if not exist %1 (echo usage: sndfle msgfile user-list) & (goto end)
    for /f "Tokens=*" %%i in ('type %1') do call :setmsg ##"%%i"##
    set msg=%msg:##"=%
    set msg=%msg:"##=%
    :LOOP
     if {%2}=={} endlocal&goto end
     net send %2 %msg%
     shift /2
    goto :LOOP
    :setmsg
    if not defined msg set msg=%1&goto end
    set msg=%msg%%1
    :end
     
  5. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.