#🔒 CMD + Custom Text + rdm stuff

117 messages · Page 1 of 1 (latest)

warm wyvern
#

I’m new to Python and wanna work on a small project but need help 🙏
I’m trying to make something like this: ( image displayed below )
And I want the code to run another file inside the folder like deleteSystem32.py ( example ) when someone presses [1]
If someone can help me that would really be appreciated.

FUN FACT:
I tried making this a year ago but failed miserably, I’M BACK 😈

#

If you got a lot of time to spend and got nothing better to do please send me dm and teach me some stuff

normal dirge
#

I don't think any of us will want to help you build something that deletes system32. That doesn't sound productive (never the rule 5: #rules )

full mango
#

!rule 5 if you're too lazy to read the rules @warm wyvern

normal dirge
#

But if you're stuck in something coding related, please ask

normal dirge
warm wyvern
#

Give me a minute

full mango
warm wyvern
#

System32

normal dirge
warm wyvern
#

I’m not deleting anyones system32

normal dirge
warm wyvern
#

I can’t send images..

full mango
full mango
warm wyvern
#

Is it possible to make python open up a new cmd as administrator? So when I run a code it opens up something like this.

full mango
#

its a help post after all

warm wyvern
#

And the image is above

full mango
warm wyvern
normal dirge
warm wyvern
#

People download custom windows OS that just disables Windows security and updates, random settings to remove any lag and increase performance

#

So I just thought, why not make this into a tool and easy

#

Free to use

normal dirge
#

Do you know any Python?

warm wyvern
#

I won’t make it public. This is a private project

warm wyvern
#

Now a little

normal dirge
#

You're not asking a coding question, you're telling us your goal... that's all fine, but we don't know what your technical question is

warm wyvern
#

What code do I run to open up cmd

#

Is my answer in there

full mango
warm wyvern
#

Thx

full mango
#

oh wait

normal dirge
full mango
warm wyvern
#

import subprocess

def run_as_admin(command):
"""Run a command as an administrator."""
subprocess.run(['runas', '/user:Administrator', 'cmd', '/c', command])

woeful boneBOT
#

Hey @warm wyvern!

It looks like you're trying to paste code into this channel.

Discord has support for Markdown, which allows you to post code with full syntax highlighting. Please use these whenever you paste code, as this helps improve the legibility and makes it easier for us to help you.

To do this, use the following method:
```py
print('Hello, world!')
```

This will result in the following:

print('Hello, world!')```
You can **edit your original message** to correct your code block.
warm wyvern
#

Did I do it right

warm wyvern
full mango
warm wyvern
#

lol

#

all i did was print and made the debloat thing command work but

#

it works but doesn't work

#

i can make it work

full mango
#

does the cmd window open

full mango
warm wyvern
#

it does this..

#

bad internet, im downloading something

warm wyvern
#

it doesnt open a new window

#

its using the same cmd window

full mango
#

gimme a larger screenshot

warm wyvern
warm wyvern
full mango
warm wyvern
full mango
warm wyvern
#

ok but

#

do you know why its not opening a new cmd window?

#

clean one

full mango
#

wait close all your terminals

warm wyvern
#

oki

full mango
#

and then run the code

warm wyvern
#

OOO

#

your rlly smart

#

ehhhhhhhhhhhhhhhe

full mango
warm wyvern
full mango
warm wyvern
#

when i convert .py to exe

#

will there be any difference

#

will it open cmd then?

full mango
# full mango yep

it was asking for an issue and when you click the run button, it runs a command in console, but since you’re receiving input, it takes that run command as input and stops you from running the command again

full mango
full mango
warm wyvern
#

do you know how i can convert it to exe?

#

docs or yt tuts

#

so I can test it

warm wyvern
#

if I ever decided to make this project public

#

Would I have to say anything like "I am not responsible if your pc breaks.." cause some stuff can probably ruin the pc

full mango
full mango
#

not advised to publish stuff that can break your PC

warm wyvern
#

lol

full mango
#

idk if this is considered rule 5 so thats why im adverse to give you answers or go looking for them myself

#

!rule 5 btw for context

woeful boneBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

warm wyvern
#

it doesn't really break the pc

#

only if u overclock your gpu which is not recommended

#

it does help get frames but ruins your GPU slowly

#

okkkkkkkk

#

thx for helping me I think I'm good here

#

I'll dm or ping one of you if I need help

full mango
#

alr nps

#

!close to close the thread

warm wyvern
#

1close

#

1close

#

1close

#

!close

woeful boneBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.