Showing posts with label Windows 10. Show all posts
Showing posts with label Windows 10. Show all posts
Tuesday, May 10, 2022
Tuesday, January 15, 2019
Monday, January 14, 2019
Manipulasi String - Batch Programming
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | @echo off set mystring=hellow maryadi echo %mystring% rem ngambil char dari index 0 sampai 6 set var1=%mystring:~0,6% echo %var1% rem ngambil 4 karakter terakhir set var2=%mystring:~-4% echo %var2% rem ngambil karakter 3 sampai terakhir set var3=%mystring:~3% echo %var3% rem menghilangkan kata 'maryadi' set var4=%mystring:maryadi=% echo %var4% rem menghilangka spasi dalam kalimat set var5=%mystring: =% echo %var5% rem mengganti kata set var6=%mystring:maryadi=poipo% echo %var6% rem menghilangkan 2 karakter pertama dan terakhir set var7=%mystring:~2,-2% echo %var7% |
Video bisa dilihat disini :
Friday, January 11, 2019
Fix bootrec
bootrec /fixmbr
bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -h -r -s
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd
bcdedit /export c:\bcdbackup
attrib c:\boot\bcd -h -r -s
ren c:\boot\bcd bcd.old
bootrec /rebuildbcd
Friday, November 30, 2018
Uncaught Error: Class 'COM' not found - PHP 7.2.1
To solve this error. Just open your php.ini file, and search for "com_dotnet" and then enable that extension as shown in the picture below
Result :
Result :
Monday, November 19, 2018
Perintah-Perintah Command Prompt di Windows
cmd command | Description |
---|---|
Basics: | |
call | calls a batch file from another one |
cd | change directory |
cls | clear screen |
cmd | start command prompt |
color | change console color |
date | show/set date |
dir | list directory content |
echo | text output |
exit | exits the command prompt or a batch file |
find | find files |
hostname | display host name |
pause | pauses the execution of a batch file and shows a message |
runas | start a program as another user |
shutdown | shutdown the computer |
sort | sort the screen output |
start | start an own window to execute a program or command |
taskkill | terminate a process or a application |
tasklist | display applications and related tasks |
time | display/edit the system time |
timeout | wait any time |
title | set title for prompt |
ver | display operating system version |
w32tm | setting time synchronisation/time server/time zone |
Network: | |
ftp | transfer files to a FTP server |
ftype | display file type and mapping |
getmac | display MAC address |
ipconfig | display IP network settings |
netsh | configure/control/display network components |
netstat | display TCP/IP connections and status |
nslookup | query the DNS |
pathping | test the connection to a specific IP address |
ping | pings the network |
route | display network routing table, add static routes |
systeminfo | displays computer-specific properties and configurations |
telnet | establish Telnet connection |
tftp | transfer files to a TFTP server |
tracert | trace routes similar to patchping |
Files: | |
attrib | display file attributes |
comp | compare file contents |
compact | display/change file compression |
copy / xcopy | copy files |
diskcomp | compare content of two floppy disks |
diskcopy | copy floppy disc to another one |
erase / del | delete one or more files |
expand | extract files |
fc | copare files and display the differences |
mkdir | create a new directory |
move | move/rename files |
rename | rename files |
replace | replace files |
rmdir / rd | delete directory |
tree | display folder structure graphically |
type | display content of text files |
Media: | |
chkdsk | check volumes |
chkntfs | display/change volume check at startup |
defrag | defragment media |
diskpart | volume management |
driverquery | display installed devices and their properties |
format | format volumes |
label | change volume name |
mode | configure interfaces/devices |
mountvol | assign/delete drive mountpoints |
verify | monitoring whether volumes are written correctly |
vol | show volume description and serial numbers of the HDDs |
Miscellaneous: | |
for | for loop |
gpresult | display group policies |
gpupdate | update group policies |
perfmon | start performance monitor |
prompt | change command prompt |
reg | add/read/import/export registry entries |
Author: Armin Oberneder
Source :
Source :
https://www.thomas-krenn.com/en/wiki/Cmd_commands_under_Windows
Melihat List Wifi dan Password Menggunakan CMD - Windows 10
Untuk menampilkan list wifi yang ada dilaptop dapat menggunakan perintah "netsh wlan show profile". Contohnya seperti terlihat dibawah :
Nah misalkan kita pengen ngeliad password untuk wifi "MITLA OFFICE". Jadinya kita eksekusi perintah ini :
Nah misalkan kita pengen ngeliad password untuk wifi "MITLA OFFICE". Jadinya kita eksekusi perintah ini :
Friday, November 16, 2018
Proses Instalasi VSDC Free Video Editor di Windows 10
Pertama-tama silahkan download filenya dari website resminya disini
Stelah didownload, silahkan double click filenya dan ikut step2nya seperti terlihat pada gambar dibawah ini
Siiipss.. segitu ajjah... sampai jumpa dipostingan berikutnya tentang VSDC... trimmsss... :-)
Stelah didownload, silahkan double click filenya dan ikut step2nya seperti terlihat pada gambar dibawah ini
Siiipss.. segitu ajjah... sampai jumpa dipostingan berikutnya tentang VSDC... trimmsss... :-)
Proses Instalasi Open Shot Di Windows 10
Download open shot from this website...
After above button is clicked. It will show below page. So just hit download button again to get the app...
After downloading it, just double click the file and follow the steps below
Okieee.... That's all... see yaa in the post about Open Shot Video Editor
After above button is clicked. It will show below page. So just hit download button again to get the app...
After downloading it, just double click the file and follow the steps below
Okieee.... That's all... see yaa in the post about Open Shot Video Editor
Tuesday, November 6, 2018
Get Windows Product Key Using Command Prompt
Wednesday, October 31, 2018
Seeding Tutorial for Beginner in CakePHP - Windows 10
In the previous post. We've learnt a little bit about migrations in cakephp. Rightnow we'll continue our study to seeder. Simply put, seeder is used to add, modify, or delete a data from our database using a simple program. In cakePhp, if we want to create a seeder, then we just simply type "bin\cake bake seed ourTableName". Example is shown below :
Next, we just have fill the $data variabel above like this :
Next for that seeder we can use this command "cake migrations seed --seed UserSeed" as shown below :
Then the result isss.....
Okiee... That's all... :D
Next, we just have fill the $data variabel above like this :
Next for that seeder we can use this command "cake migrations seed --seed UserSeed" as shown below :
Then the result isss.....
Sunday, October 14, 2018
Migrations Tutorial For Beginner in CakePHP - Windows 10
In the previous post we have installed and configured cakePhp with postgreesql. So in this post we'll gonna learn about migrations in CakePhp. Simply put , migrations is all about creating, dropping, changing and removing database or table in cakePhp. So if we wanto create a table, it's really suggested to create it from migrations file because it will track every table that we created and it will be easier for another developer to create their own local environment with this migrations file only by using "bin\cake migrations migrate".
In cakePhp, we can see all of available commands in migrations by using "bin\cake migrations". It will show
Also we can see the migrations history in phinxlog table like this :
Ok... Let's create our first migration by running this command "bin\cake migrations create MyFirstMigration"
So we named our first migration as MyFirstMigration and then we can see it in config/migrations/xxxxxxxxx_MyFirstMigration.php as shown in the picture below :
Next let's put something onto function change ()
So... From that function we will create a table named maryadi_table. It will contain a column name as string, description as text, level as integer, created and modified as datetime. The ID column will be added automatically and it will be primary autoincrement.
Before we run migrate, we can check the migration status first like this :
We can see MyFirstMigration there... Next let's do the migration
We can see the result in our database :
Ok....Neext...
Let's try another way of creating migration file. We can use "bake" command as follows
So we created new migration file named MySecondMigration which has some column namely name as string, description as text and so on. The result is :
There is one thing to note here. If we want to create new table using bake, we need to use "Createxxxxx" at the front of our migration name. Also we can see that our table name is "my_second_migration". Okiee...Next we'll gonna add a new column to an existing table. In order to do that, we can use "....... AddxxxxToyyyy....". xxxx is the new table that will be added and yyyy is our current existing table. Example is shown below :
So by running that migration we'll gonna add power column to maryadi_table.
As you might notice that at the end of each migration code, there is a $table->create and $table->update. That means creating and updating the table yeaaah...and rightnow we already have two migration files which is not yet migrated as shown below :
So let's run our migrations then and see the result as shown below:
Okiee... after learning how to add. Next we'll learn how to remove column. For removing column we can use a convension name like "RemovexxxxxxFromyyyyyyy". Example :
After running that migration, we'll see that power column is now gone.
Well... there are a lot of commands that's available for us to be used. But I won't cover it all in post. But I hope this post gives your a little bit way of thinking how to use migrations command in cakePhp so you can explore another commands by yourself ehehee... :-)
Okie that's all thank you so much...
Subscribe to:
Posts (Atom)